A Vue.js project
# install dependencies
npm install
# 将第三方库文件单独编译打包一次,以后的构建都可以不需要再编译打包第三方库
# (这一步会生成build/vendor-manifest.json和static/js/vendor.dll.js)
npm run dll
# 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
For a detailed explanation on how things work, check out the guide and docs for vue-loader.