Closed
Description
Version
3.0.0-beta.6
Reproduction link
Steps to reproduce
- Vue CLI v3.0.0-beta.6
- ? Please pick a preset: Manually select features
- ? Check the features needed for your project: TS, Router, Vuex, CSS Pre-processors, Linter
- ? Use class-style component syntax? Yes
- ? Use Babel alongside TypeScript for auto-detected polyfills? Yes
- ? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): LESS
- ? Pick a linter / formatter config: Airbnb
- ? Pick additional lint features:
- ? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In dedicated config files
- ? Save this as a preset for future projects? No
vue-cli will install @babel/preset-stage-2@7.0.0-beta.45 and npm run serve will throw error:
The new decorators proposal is not supported yet. You must pass the
"decoratorsLegacy": true option to @babel/preset-stage-2
see: https://github.com/babel/babel/blob/master/packages/babel-preset-stage-2/src/index.js#L29
forgive my poor English
What is expected?
server success
What is actually happening?
The new decorators proposal is not supported yet. You must pass the "decoratorsLegacy": true
option to @babel/preset-stage-2
Metadata
Metadata
Assignees
Labels
No labels