enabledbooleantrueConditionally toggle the module.
debugbooleanfalseEnables debug logs.
redirectToCanonicalSiteUrlbooleanfalseWhen enabled, it will redirect any request to the canonical domain (site url) using a 301 redirect on non-dev environments.
E.g if the site url is 'www.example.com' and the user visits 'example.com', they will be redirected to 'www.example.com'.
This is useful for SEO as it prevents duplicate content and consolidates page rank.
automaticDefaultsbooleantrueWill set up a number of defaults for meta tags and Schema.org, if the modules and config are available.
fallbackTitlebooleantrueWill ensure a title is always set by providing a fallback title based on the casing the last slug segment.
metaDataFilesbooleantrueShould the files in the public directory be used to infer tags such as favicon, apple-touch-icon, and open graph images.
automaticOgAndTwitterTagsbooleantrueShould head data be inferred from the current input to fill in the gaps.
For example:
treeShakeUseSeoMetabooleantrueAttempts to treeshake the useSeoMeta function. Can save around 5kb in the client bundle.
extendRouteRulesbooleantrueAdds head and seoMeta to the route rules and app config.
fixRequiredAbsoluteMetaTagsLinksbooleantrueTries to convert relative image paths to absolute paths in meta tags.
extendNuxtConfigAppHeadSeoMetabooleantrueExtends app.head with the seoMeta key.
extendNuxtConfigAppHeadTypesbooleantrueAugments the head schema with /public files making it easier to reference them in the head.
setupNuxtConfigAppHeadWithMoreDefaultsbooleantrue