Nuxt Config
identity
- Type:
'Person' | 'Organization' | 'LocalBusiness' | OrganizationSimple | PersonSimple | LocalBusinessSimple - Default:
undefined
The identity of your site. This will only have an effect when using defaults.
defaults
- Type:
boolean - Default:
true
Whether the default Schema.org setup should be enabled or not.
excludeWorkTranslationLocales
- Type:
string[] - Default:
[]
Locale codes to exclude from automatic WebSite.workTranslation entries on the default locale.
Use this when an i18n locale belongs to another brand or site.
This option keeps the default nodes and leaves translationOfWork unchanged.
It does not filter entries you add yourself.
See the i18n guide for an example.
minify
- Type:
boolean - Default:
!nuxt.options.dev
Whether the Schema.org output should be minified or not. Will slightly reduce your bundle size.
reactive
- Type:
boolean - Default:
nuxt.options.dev || !nuxt.options.ssr
Whether client-side reactivity should be enabled or not. This is not needed for SEO reasons when SSR but may be useful for debugging.
scriptAttributes
- Type:
Script | false - Default:
{ 'data-nuxt-schema-org': true }
The attributes to add to the <script> tag that contains the Schema.org graph.
enabled
- Type:
boolean - Default:
true
Whether Schema.org should be enabled or not.
debug
- Type:
boolean - Default:
false
Enable to see debug logs.