Skip to content

feat(add): move module add -> add and add new template-add command#1176

Merged
danielroe merged 2 commits intomainfrom
feat/module-add
Jan 6, 2026
Merged

feat(add): move module add -> add and add new template-add command#1176
danielroe merged 2 commits intomainfrom
feat/module-add

Conversation

@danielroe
Copy link
Copy Markdown
Member

🔗 Linked issue

resolves #1120

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This is a backwards compatible change moving nuxt module add to nuxt add (for example nuxt add fonts). It continues to respect template names, so nuxt add middleware myMiddleware will print a deprecation warning but continue to work. And nuxt module add continues to work (as it is documented on many module websites) and I don't envision removing this at any point.

@danielroe danielroe self-assigned this Jan 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 6, 2026

📦 Bundle Size Comparison

📈 nuxi

Metric Base Head Diff
Rendered 4438.59 KB 4439.68 KB +1.08 KB (+0.02%)

📈 nuxt-cli

Metric Base Head Diff
Rendered 136.03 KB 137.05 KB +1.02 KB (+0.75%)

📈 create-nuxt

Metric Base Head Diff
Rendered 2368.87 KB 2368.92 KB +0.05 KB (+0.00%)

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Jan 6, 2026

CodSpeed Performance Report

Merging #1176 will not alter performance

Comparing feat/module-add (60ad9eb) with main (1bccf8b)

Summary

✅ 2 untouched

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Jan 6, 2026

  • nuxt-cli-playground

    npm i https://pkg.pr.new/create-nuxt@1176
    
    npm i https://pkg.pr.new/nuxi@1176
    
    npm i https://pkg.pr.new/@nuxt/cli@1176
    

commit: 60ad9eb

@danielroe danielroe merged commit 562abd5 into main Jan 6, 2026
12 checks passed
@danielroe danielroe deleted the feat/module-add branch January 6, 2026 12:11
@github-actions github-actions bot mentioned this pull request Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant