vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.76k stars 6.33k forks source link

Remove vue-class-component from project scaffold #6845

Open Mikilll94 opened 2 years ago

Mikilll94 commented 2 years ago

What problem does this feature solve?

In Vue 3, vue-class-component is not a recommended option anymore in official docs or default tooling. You can read about that here: https://github.com/vuejs/vue-next/issues/4744#issuecomment-937369062

What does the proposed API look like?

When selecting Vue 3 + TypeScript, "class-style component syntax" option should be removed.

mlhDevelopment commented 2 years ago

I agree with this removal; just starting a Vue project from an Angular background so quick Googles indicated the class-style component was what I would be familiar with and wanted, but upon getting deeper (e.g. utilizing provide/inject) it was clear the features weren't there for Vue 3. I'm hoping too much time won't be lost but removing that wizard option would have made for a more successful and joyous first project.