Skip to content

Remove devDependencies on manual install#434

Merged
atinux merged 1 commit into
nuxt:mainfrom
HugoGresse:patch-1
May 4, 2026
Merged

Remove devDependencies on manual install#434
atinux merged 1 commit into
nuxt:mainfrom
HugoGresse:patch-1

Conversation

@HugoGresse

Copy link
Copy Markdown
Contributor

aligning install with the npx nuxi command

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)

📚 Description

npx nuxi module add icon command doesn't add the package as devDependencies. This PR updates the manual installation to align the installation on both methods.

aligning install with the `npx nuxi` command
@antfu

antfu commented Sep 19, 2025

Copy link
Copy Markdown
Member

I am not very sure as it doesn't need to be installed as prodDeps, I am not sure why nuxi module add is doing it, but I feel it's safer to do devDeps as there is no reason not to

@atinux
atinux merged commit 1ed1c7d into nuxt:main May 4, 2026
1 check passed
@atinux

atinux commented May 4, 2026

Copy link
Copy Markdown
Member

After many thoughts, I finally think it's better to list used modules as dependencies so it's easier to catch what are the dependencies used in the website in production, even though thanks to Nitro bundling, everything could be listed as dev dependency

@HugoGresse
HugoGresse deleted the patch-1 branch May 4, 2026 15:21
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.

3 participants