Vite: Remove vue as dependency

Created on 18 Jul 2020  路  2Comments  路  Source: vitejs/vite

Is your feature request related to a problem? Please describe.

Vite seems to be a great general development utility for different kinds of applications. Currently Vue and React. Since I don't use Vue but React it would be great if Vue was also moved to a plugin. So that I don't have to download Vue dependencies.

Describe the solution you'd like

Move vue stuff to a plugin.

Describe alternatives you've considered

Nothing

Additional context

Most helpful comment

100% on board with this. I've been using Vite to develop "vanilla" web apps without any frameworks (which works great) and don't see a reason force every user to install Vue, even though I do love it to bits. ;) Removing the dependency and perhaps adding a vanilla template would solidify Vite as a general build tool instead of the "vue-cli alternative that can do react" a lot of people seem to believe it is. 馃憤 from me.

All 2 comments

Well that is what create-vite-app does.

I don't see why people should be forced to install Vue dependencies when it is already easy for vue to get started even when moved to a plugin.

If vue is moved to a plugin, it would basically be just as easy as it is for react.

npm init vite-app my-react-project --template vue

which is the same for react currently (and also what you suggested)

npm init vite-app my-react-project --template react

100% on board with this. I've been using Vite to develop "vanilla" web apps without any frameworks (which works great) and don't see a reason force every user to install Vue, even though I do love it to bits. ;) Removing the dependency and perhaps adding a vanilla template would solidify Vite as a general build tool instead of the "vue-cli alternative that can do react" a lot of people seem to believe it is. 馃憤 from me.

Was this page helpful?
0 / 5 - 0 ratings