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 //打包模式
原文:https://www.cnblogs.com/lsy-19961122/p/10386236.html