Schema.org
Api

Nuxt Config

Configure the sitemap module.

identity

  • Type: 'Person' | 'Organization' | Person | Organization
  • 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.

minify

  • Type: boolean
  • Default: process.env.NODE_ENV === 'production'

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: (ScriptBase & TagUserProperties) | false
  • Default: { id: 'schema-org-graph' }

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.

host

Deprecated
  • Type: string
  • Default: runtimeConfig.public.siteUrl || localhost
  • Required: false

The host of your site. This is required to validate absolute URLs which may be internal.

This is now handled by the nuxt-site-config module.

trailingSlash

Deprecated
  • Type: boolean
  • Default: false

Whether internal links should have a trailing slash or not.

This is now handled by the nuxt-site-config module.