A simple weather application developed using Vue.js and Tailwind CSS. It fetches weather information from the OpenWeatherMap API and displays it in a user-friendly interface. Users can search for weather by city name, save multiple locations, and view weather forecasts.
- Weather data retrieval: Fetch weather information based on city name.
- Save locations: Users can save multiple locations for easy access.
- Responsive UI: Mobile-friendly design using Tailwind CSS.
- Graphical representation: Display weather data graphically.
- Error handling: Proper handling of network requests and errors.
- Vue.js
- Tailwind CSS
- Clone the repository:
git clone https://github.com/your-username/weather-application.git
- Navigate to the project directory:
cd weather-application
- Install dependencies:
npm install
- Create a
.env
file in the root directory and add your OpenWeatherMap API key:
VUE_APP_API_KEY=your-api-key
- Run the development server:
npm run serve
- Open your browser and navigate to
http://localhost:3000
to view the application.
I've removed the section about user authentication and updated the features accordingly. If you have any further modifications or additions, let me know!
This template should help get you started developing with Vue 3 in Vite.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
npm install
npm run dev
npm run build
Lint with ESLint
npm run lint