add this widget into your HTML-page:
<weather-widget />
<script defer="defer" src="https://sanchopanda.github.io/weather-widget/app.js"></script>
-
npm install
-
Create
.env
file in the root folder. -
Add your openweather api key in
.env
file
VUE_APP_OPEN_WEATHER_API_KEY - [key]
-
If you want deploy app in github-pages, add name of repository in
.env
GH_PAGES_ROOT=/[name of repository]/
npm run serve
npm run build
the dist folder will be deployed to the gh-pages branch
npm run deploy