一、脚手架创建项目
1、vue create 项目名
2、Manually select features :手动选择功能
3、
(*) Babel
( ) TypeScript
( ) Progressive Web App (PWA) Support
(*) Router
(*) Vuex
(*) CSS Pre-processors
(*) Linter / Formatter
( ) Unit Testing
( ) E2E Testing
4、 (使用vue2)
3.x
> 2.x
5、 Use history mode for router? (Requires proper server setup for index fallback in production) (Y/n) n
6、 (使用less)
Sass/SCSS (with dart-sass)
> Less
Stylus
7、(选择ESLint + Standard config)
ESLint with error prevention only
ESLint + Airbnb config
> ESLint + Standard config
ESLint + Prettier
8、
(*) Lint on save
>(*) Lint and fix on commit
9、(选择 In dedicated config files 保存单独的配置文件)
In dedicated config files
In pac