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: { '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.

Did this page help you?