# install dependencies
npm install
# serve with hot reload at localhost:8080
#在config文件夹里的index.js里
#修改dev => host值为你当前电脑的ip
#这样在同一个局域网下可以在你的手机上运行
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.