使用vue-cli快速构建项目--vue.js学习笔记1 1、vue init webpack 项目名称 2、cnpm(npm) install 3、npm run dev 4、打包 npm run build 打包完之后生成dist文件夹放到服务器上就行了