-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
What problem does this feature solve?
Nuxt was created before Vue CLI 3 and Nuxt generator does not have the flexibility and plug-in model of the CLI3 that lets add/remove/modify features in your existing project, for example, add TypeScript or a CSS library in the project as an after-though. It also provides a nice UI for modifying the plugins in your web browser. I believe Nuxt should take advantage of this architecture without reinventing the wheel. The fact that I cannot use CLI3 features in a nuxt application discourages me from using nuxt, instead if nuxt was provided as a CLI3 plugin to add nuxt structure and features on top of a vue project (maybe as a sub-structure or module if that makes it easier) then I could easily choose to use Nuxt, because I know I will have control over it through CLI3 plugin system to upgrade or even remove it if I want to. In fact I believe this should be the primary way supported to install Nuxt.
There looks to be an attempt on doing this with vue-cli-plugin-nuxt-starter-template by @andoshin11 but it doesn't seem to be actively maintained.
What does the proposed changes look like?
You run a Vue CLI 3 command like vue add nuxt
and it will add nuxt structure and build to your existing VueJS project.