Replies: 9 comments 19 replies
-
In a Nuxt project, we have the module system which let users make changes to routes, middlewares, components, ... So is it possible to make a similar module system for the CLI so that users can customize it, ex: add more commands, overwrite behaviour, ...? |
Beta Was this translation helpful? Give feedback.
-
Really amazing work as always ^^ just one question please ! there will be an auto git init for new project scaffolding like in Nuxt 2 if i recall right ? |
Beta Was this translation helpful? Give feedback.
-
Nuxt is a FullStack framework, so i dream of a cli that boost productivity while building apps. I remember at school we worked with Syphony and if i remember well we used composer. With it, we were able to generate model and route, for exemple: I'm creating the model Usernuxi model user type enter on empty -- model created with fields firstname, lastname And route will be generated automaticly. This would be so much (useless) code to not write 😯 This setup would be quite opinionated, but would be so cool to use daily. To sumup i would love to create / update models and automaticly create corresponding routes |
Beta Was this translation helpful? Give feedback.
-
Hello Nuxters ! a question please for the CLI as Bun came to play a nice role wouldn't be nice to have a choice in the CLI about the desired runtime ? Bun or Node :) |
Beta Was this translation helpful? Give feedback.
-
Thank you for much for your hard & great work as always Mr @pi0 🥇 the last release is really fabulous ^^ it gives the joy of making many more new projects XD |
Beta Was this translation helpful? Give feedback.
-
Kind of related to this feedback regarding commands to generate file in a Symfony way, I would like to suggest having the possibility to run commands, or scripts within a project. In Symfony we have Console Commands and they are very useful when you need to write small scripts that you don't want or don't need to expose through an endpoint to run it. But instead, you can run it as a command and benefit from all the ecosystem around it (Dependency injection, runtime configuration etc...). An example of a usecase would be when you need to create credentials for an external API (let's say, Google APIs) you need to generate a token for your web application, and you usually only need to run it once, and I believe this could be easily achievable as a command. I imagine something like |
Beta Was this translation helpful? Give feedback.
-
I really like to init Nuxt with a specific version instead of |
Beta Was this translation helpful? Give feedback.
-
the |
Beta Was this translation helpful? Give feedback.
-
Hi everyone 👋🏿 , Regarding the # “add” comes before plugin, component etc
npx nuxi add {plugin, component, composable, layout, page, middleware, api} But in the case of modules, we have to do: # module comes before add 🫤
npx nuxi module add <NAME> Wouldn’t it be better to follow one format for all? Edit: |
Beta Was this translation helpful? Give feedback.
-
While the new CLI is still in the early stages, if you have any feedback about experience or ideas, it is more than welcome here to discuss!
Related topics:
Beta Was this translation helpful? Give feedback.
All reactions