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

Automatic module setup via nuxi cli #18478

Closed
3 of 4 tasks
matijaoe opened this issue Jan 24, 2023 · 3 comments
Closed
3 of 4 tasks

Automatic module setup via nuxi cli #18478

matijaoe opened this issue Jan 24, 2023 · 3 comments

Comments

@matijaoe
Copy link

matijaoe commented Jan 24, 2023

Describe the feature

It would be great if nuxi gets the functionality similar to Astro Integrations (astro-add) for setting up external integrations/modules. Svelte Ecosystem has its own version as well (svelte-add).

The module system in Nuxt is pretty straightforward as it currently stands, but it would be a great addition if it automatically installed the module, added it to the nuxt.config, and set up required config options and files, straight from the CLI, using nuxi add.

It should show a preview of what's about to be added, and require a confirmation for every step (as Astro does it), as well as offer a flag to automatically accept all prompts.

Example:

npx nuxi add module unocss

Astro-add functionality:

image
image

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@manniL
Copy link
Member

manniL commented Jan 24, 2023

Related: nuxt/cli#57, nuxt/cli#58

@Baroshem
Copy link
Contributor

Also, related to nuxt/framework#4001

@danielroe
Copy link
Member

I very much agree and this is on our roadmap - let's track in the issues @manniL linked.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
@manniL @danielroe @Baroshem @matijaoe and others