Vue CLI v3.0.0
? Please pick a preset:
default (babel, eslint)
> Manually select features
---
Vue CLI v3.0.0
? Please pick a preset: Manually select features
? Check the features needed for your project:
(*) Babel
(*) TypeScript
(*) Progressive Web App (PWA) Support
(*) Router
(*) Vuex
(*) CSS Pre-processors
(*) Linter / Formatter
(*) Unit Testing
>(*) E2E Testing
---
Vue CLI v3.0.0
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, TS, PWA, Router, Vu
ex, CSS Pre-processors, Linter, Unit, E2E
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? Yes
? Use history mode for router? (Requires proper server setup for index f
allback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are su
pported by default):
SCSS/SASS
LESS
> Stylus
---
Vue CLI v3.0.0
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, TS, PWA, Router, Vu
ex, CSS Pre-processors, Linter, Unit, E2E
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? Yes
? Use history mode for router? (Requires proper server setup for index f
allback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are su
pported by default): Stylus
? Pick a linter / formatter config:
TSLint
ESLint with error prevention only
> ESLint + Airbnb config
ESLint + Standard config
ESLint + Prettier
---
Vue CLI v3.0.0
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, TS, PWA, Router, Vu
ex, CSS Pre-processors, Linter, Unit, E2E
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? Yes
? Use history mode for router? (Requires proper server setup for index f
allback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are su
pported by default): Stylus
? Pick a linter / formatter config: Airbnb
? Pick additional lint features:
(*) Lint on save
>(*) Lint and fix on commit
---
Vue CLI v3.0.0
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, TS, PWA, Router, Vu
ex, CSS Pre-processors, Linter, Unit, E2E
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? Yes
? Use history mode for router? (Requires proper server setup for index f
allback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are su
pported by default): Stylus
? Pick a linter / formatter config: Airbnb
? Pick additional lint features: Lint on save, Lint and fix on commit
? Pick a unit testing solution: (Use arrow keys)
> Mocha + Chai
Jest
---
Vue CLI v3.0.0
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, TS, PWA, Router, Vu
ex, CSS Pre-processors, Linter, Unit, E2E
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? Yes
? Use history mode for router? (Requires proper server setup for index f
allback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are su
pported by default): Stylus
? Pick a linter / formatter config: Airbnb
? Pick additional lint features: Lint on save, Lint and fix on commit
? Pick a unit testing solution: Mocha
? Pick a E2E testing solution: (Use arrow keys)
> Cypress (Chrome only)
Nightwatch (Selenium-based)
---
Vue CLI v3.0.0
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, TS, PWA, Router, Vu
ex, CSS Pre-processors, Linter, Unit, E2E
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? Yes
? Use history mode for router? (Requires proper server setup for index f
allback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are su
pported by default): Stylus
? Pick a linter / formatter config: Airbnb
? Pick additional lint features: Lint on save, Lint and fix on commit
? Pick a unit testing solution: Mocha
? Pick a E2E testing solution: Cypress
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? (
Use arrow keys)
> In dedicated config files
In package.json
---
Vue CLI v3.0.0
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, TS, PWA, Router, Vu
ex, CSS Pre-processors, Linter, Unit, E2E
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? Yes
? Use history mode for router? (Requires proper server setup for index f
allback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are su
pported by default): Stylus
? Pick a linter / formatter config: Airbnb
? Pick additional lint features: Lint on save, Lint and fix on commit
? Pick a unit testing solution: Mocha
? Pick a E2E testing solution: Cypress
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? I
n dedicated config files
? Save this as a preset for future projects? No
? Pick the package manager to use when installing dependencies: (Use arr
ow keys)
> Use Yarn
Use NPM
【 在 eGust (十年) 的大作中提到: 】
: yarn upgrade 之后发现版本号没变,然后跑去一看才知道已经不叫 vue-cli 了……
: npm install -g @vue/cli
: # OR
: ...................
--
FROM 125.236.131.*