# rungo > A Vue.js project ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build prod # build for production and view the bundle analyzer report npm run build prod --report # run unit tests npm run unit # run e2e tests npm run e2e # run all tests npm test # 配置文件创建规则 项目名.env.js # 环境打包规则 npm run build 项目名 # 测试环境 npm run build test # 预上线环境 npm run build prod # 河北保定环境 npm run build prodSchool # 河北保定环境 npm run build prodSchoolTwe # 本地环境 npm run build local ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).