1、创建一个基于webpack模板的项目 vue init webpack 项目名称 2、安装项目依赖 npm install 3、运行项目 npm run dev 打开浏览器,出现如下图启动成功vue项目 相关文章: