WeatherApp Vue is a Vue 3 application that allows users to track the current and future weather conditions of cities. It features a clean interface with real-time weather updates and city management capabilities.
- Search for cities by name to get current weather information
- View detailed weather forecasts for selected cities
- Save cities for quick access on the home page
- Remove cities from the saved list when no longer needed
- Utilizes skeleton loading for improved user experience during data fetching
- Vue 3 (Composition API)
- Vue Router
- Axios for HTTP requests
- Tailwind CSS for styling
- Vite for fast development
npm install
npm run dev
npm run build
Lint with ESLint
npm run lint
Skeleton loading is implemented using placeholders to enhance the user experience during data fetching. This technique provides visual feedback to users while waiting for content to load, making the application feel more responsive.
The page title dynamically changes based on the route using Vue Router's router.beforeEach method. This ensures that each page's title reflects the current city's weather information, enhancing the overall user experience.
The application utilizes Vue's teleport feature to dynamically render components outside the parent DOM hierarchy. This allows for greater flexibility in component placement and improves the overall organization of the application's structure.
Prettier is used for code formatting, ensuring consistent and clean code across the project. ESLint is used for code linting to enforce code quality standards and identify potential errors or issues.
Contributions are welcome! Feel free to open issues or submit pull requests to contribute to this project.