Skip to content

gustavocardoso/vue-weather-dashboard

Repository files navigation

vue-weather-dahboard

A simple app to play with vue resources

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

API keys

This app use APIs from Google Maps and AccuWeather. After you get your own keys, rename .env.sample to .env and put them in it.

Tests

When I ran the npm run test commmand, I had an error like this:

ERROR in   Error: Child compilation failed:
  Entry module not found: Error: Can't resolve '/Users/guneto/Developer/vue-weather-dahboard/.tmp/mocha-webpack/index.html' in '/Users/guneto/Developer/vue-weather-dahboard/.tmp/mocha-webpack':
  Error: Can't resolve '/Users/guneto/Developer/vue-weather-dahboard/.tmp/mocha-webpack/index.html' in '/Users/guneto/Developer/vue-weather-dahboard/.tmp/mocha-webpack'

Accordingly with this issue, I solved the problem just creating the file:

touch /Users/guneto/Developer/vue-weather-dahboard/.tmp/mocha-webpack/index.html

Adjust the path to your own

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

About

A simple weather dashboard to play with Vue.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published