vue3建立流程備份1

永遠的新手發表於2020-12-24

? Please pick a preset: Manually select features

? Check the features needed for your project: Choose Vue version, Babel, TS, Rou

ter, Vuex, CSS Pre-processors, Linter, Unit

? Choose a version of Vue.js that you want to start the project with 3.x (Previe

w)

? Use class-style component syntax? Yes

? Use Babel alongside TypeScript (required for modern mode, auto-detected polyfi

lls, transpiling JSX)? Yes

? Use history mode for router? (Requires proper server setup for index fallback

in production) No

? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported

by default): Stylus

? Pick a linter / formatter config: Prettier

? Pick additional lint features: Lint on save, Lint and fix on commit

? Pick a unit testing solution: Jest

? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated confi

g files

? Save this as a preset for future projects? (y/N) n

相關文章