目录
1.命令行初始化项目
bogon:vue xudanfeng$ vue create vue-cli-project
Vue CLI v3.0.2
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, Router, Vuex, CSS Pre-proce
ssors
? Use history mode for router? (Requires proper server setup for index fallback
in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported
by default): Sass/SCSS
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In packag
e.json
? Save this as a preset for future projects? No
.....构建初始化项目阶段
//构建完成项目
Successfully created project vue-cli-project.
? Get started with the following commands:
$ cd vue-cli-project
$ yarn serve
1万+




被折叠的 条评论
为什么被折叠?



