VUECLI3/4创建项目格式:
vue create vuecli2test
会出现以下提示:
1.选择配置方式
? Please pick a preset: Manually select features
2.选择自己需要的配置,空格选中或者反选
? Check the features needed for your project: Choose Vue version, Babel
3.选择vue版本
? Choose a version of Vue.js that you want to start the project with 2.x
4.对应的配置单独生成还是放在package.json
? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated config files
5.是否保存自己选择的配置
? Save this as a preset for future projects? Yes
6.设置保存的名称
? Save preset as: liudw
目录结构详解
自定义配置:起别名