Replies: 3 comments 6 replies
-
In Nuxt2 it was also possible to quickly scaffold new projects with a cli wizard. Is it also on the roadmap for nuxt3? |
Beta Was this translation helpful? Give feedback.
6 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have worked on a new and minimalistic CLI implementation codenamed "nuxi" released alongside Nuxt 3. This project aims to continue the CLI development and enhancements in parallel to Nuxt, mainly to achieve new goals:
🌐 Global
While nuxi (as of 3.2.0) is a zero-dependency CLI and designed to be used globally, we have never advocated it as a global CLI due to a lack of proper version management and the ability to self-upgrade. One of the main goals is to make the CLI experience as minimal as possible.
🧩 Modular
Using the new "citty" framework, Nuxi commands can be implemented by users, module authors, core, and also ad-hoc modules we make. This allows for making CLI capabilities extendable which was never possible before with single core implementation.
🤖 Automated
Using by new unjs packages (nypm, paneer, scaffolding utils), we can provide more automation to control project
💫 Elegant
With an upcoming version of console and error utils, CLI output experience should be even fancier.
🔌 Programmatic
New architecture with Citty, allows direct using utilities from CLI by importing them and interacting with them using
/_cli
API endpoint during development mode to open new possibilities such as seamless dev tools⚡️ Rapid Development
This is crucial, especially in the early stages to be able to iterate faster in parallel to core and give contributors more visibility.
Related topics:
Beta Was this translation helpful? Give feedback.
All reactions