Disabling Modules
Learn how to disable modules in Nuxt SEO.
Since Nuxt SEO installs and enables modules for you, you may run into a situation where you want to disable a module.
The modules have these config keys:
nuxt-og-image
-ogImage
@nuxtjs/sitemap
-sitemap
@nuxtjs/robots
-robots
nuxt-seo-utils
-seo
nuxt-schema-org
-schemaOrg
nuxt-link-checker
-linkChecker
You can disable any of these modules by setting the module's enabled
value to false
in your nuxt.config.ts
file.
nuxt.config.ts
export default defineNuxtConfig({
ogImage: {
enabled: false
},
sitemap: {
enabled: false
},
robots: {
enabled: false
},
seo: { // seo utils
enabled: false
},
schemaOrg: {
enabled: false
},
linkChecker: {
enabled: false
}
})
Did this page help you?