Guides
Disabling Modules
Last updated by
Harlan Wilton
in chore: drop monorepo docs. 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-robotsnuxt-seo-utils-seonuxt-schema-org-schemaOrgnuxt-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?