<weather-widget />
<script type="text/javascript" src="/path/to/weather-widget.js"></script>- Get weather data from Current weather data
- Implement Geocoding API for prevent deprecation options
- One time settings page
- Add city
- Remove city
- Order city
- Save data to localStorage
- On initial opening, request the current user’s location and display the weather in their city.
- FSD
- ESLint
- Prettier
- Vue router
- Vueuse
Pinia
Dew point not implemented (available only on One Call API 3.0)
- Clone & install deps
bun i-
Create
.envfile based on example.env.example -
Run dev script
bun dev- Go to localhost:5173
You can build as regular vue app or Web Component
bun run build:
bun run build:wcIn dist folder you will get single js file.
For chunks splitting need change to false
inlineDynamicImportsoption invite.config.*files