Coder Social home page Coder Social logo

srushti-9 / weather-app-vue Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 86 KB

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.

JavaScript 9.39% HTML 4.83% Vue 85.52% CSS 0.25%
api-integration eslint frontend prettier skeleton-loading tailwindcss teleport uid vite vue vue-router vue3 vue3-composition-api weather-app web-application dynamic-page-title

weather-app-vue's Introduction

WeatherApp Vue

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.

Features

  • 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

Technologies Used

  • Vue 3 (Composition API)
  • Vue Router
  • Axios for HTTP requests
  • Tailwind CSS for styling
  • Vite for fast development

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

Skeleton Loading

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.

Dynamic Page Title

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.

Teleport Feature

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.

Code Formatting and Linting

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.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to contribute to this project.

weather-app-vue's People

Contributors

srushti-9 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.