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

Support for adding multiple module at once #65

Open
arashsheyda opened this issue Jul 6, 2023 · 1 comment · May be fixed by #233
Open

Support for adding multiple module at once #65

arashsheyda opened this issue Jul 6, 2023 · 1 comment · May be fixed by #233
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@arashsheyda
Copy link
Member

Use case

It would be nice to be able to add multiple modules in one command, e.g. nuxi-ng module add @vueuse/nuxt @unocss/nuxt

and in some cases, we need to install multiple packages and add one of them into modules, e.g. vuefire

I'd love to help if needed, thanks

@pi0 pi0 added enhancement New feature or request good first issue Good for newcomers labels Jul 6, 2023
@rohrig rohrig linked a pull request Sep 26, 2023 that will close this issue
@angelhdzmultimedia
Copy link
Contributor

Any updates? I wanted to contibute but there was already a contribution to add this.
I already added this in my own nuxi inspired CLI and it works nicely.
Because multiple modules adding is not yet implemented, I had to add all the modules to add in an array,
and then calling pnpx nuxi module add <module> inside the loop.

It will be nice just joining the array as a string, and passing the string of modules to the command and adding them all in a same process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants