vue init webpack projectName
# install dependencies npm install //安装依赖 # serve with hot reload at localhost:8080 npm run dev //开发模式 # build for production with minification npm run build //打包模式