Updating Nuxt Modules
Update Command
Since @nuxtjs/seo bundles all nine modules, you only need to update the main package. If you pinned a module in your package.json, update that pin too. An older pinned module fails the build.
pnpm update @nuxtjs/seo --latestnpm update @nuxtjs/seo@latestyarn upgrade @nuxtjs/seo --latestbun update @nuxtjs/seo --latestWhen Updates Get Stuck
Package managers can cache old versions. If updates aren't applying:
rm -rf node_modules pnpm-lock.yaml && pnpm installrm -rf node_modules package-lock.json && npm installrm -rf node_modules yarn.lock && yarn installrm -rf node_modules bun.lockb && bun installCheck for Breaking Changes
Before updating major versions, follow the migration guide and check the GitHub Releases.
Individual module changelogs:
Verify the Update
After updating, check your installed version:
npx nuxt infoLook for @nuxtjs/seo in the modules list.
Was this page helpful?