The @nuxtjs/seo module is an alias module that combines all the other SEO modules into a single installation.
npx nuxt module add @nuxtjs/seonpm i @nuxtjs/seoYou will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'@nuxtjs/seo',
],
})
yarn add @nuxtjs/seoYou will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'@nuxtjs/seo',
],
})
pnpm i @nuxtjs/seoYou will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'@nuxtjs/seo',
],
})
bun i @nuxtjs/seoYou will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'@nuxtjs/seo',
],
})
If you'd prefer more control over which modules you install, you can install them separately, please see the individual module pages for installation instructions.
All modules are now installed and configured!
See the Using the Modules guide to learn how to use them.
If you run into any issues, check out the Troubleshooting guide. Below are the StackBlitz playgrounds for Nuxt SEO: