cli icon indicating copy to clipboard operation
cli copied to clipboard

move `add` -> `template add` and `module add` -> `add`

Open danielroe opened this issue 2 months ago • 1 comments

adding new modules is probably more common than adding templates, and it would be nice to prioritise this.

# add new module
pnpm nuxt add fonts

# add new page
pnpm nuxt template add page

it's technically a 'breaking change' but it should be a reasonably straightforward one to get to grips with

I'd love feedback from the community first, though! 🙏

danielroe avatar Nov 05 '25 11:11 danielroe

I think we should also support nuxt module add until all modules update their documentation (probably adding a warning and run the nuxt add command)

atinux avatar Nov 05 '25 11:11 atinux