Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove vue as dependency #576

Closed
henrikbjorn opened this issue Jul 18, 2020 · 3 comments
Closed

Remove vue as dependency #576

henrikbjorn opened this issue Jul 18, 2020 · 3 comments

Comments

@henrikbjorn
Copy link

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

@henrikbjorn
Copy link
Author

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

@mclrc
Copy link

mclrc commented Jul 27, 2020

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.

@underfin
Copy link
Member

underfin commented Jan 2, 2021

The vue logic is separate into @vitejs/plugin-vue at 2.0. Please see doc.

@underfin underfin closed this as completed Jan 2, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants