getting started
yarn add -D @unhead/schema-orgAdd the plugin to your unhead instance.
import { SchemaOrgUnheadPlugin } from '@unhead/schema-org'
createHead({
  plugins: [
    SchemaOrgUnheadPlugin()
  ]
})To server-side render Schema.org, you'll need to provide a canonical host.
import { SchemaOrgUnheadPlugin } from '@unhead/schema-org'
createHead({
  plugins: [
    SchemaOrgUnheadPlugin({
      host: 'https://example.com',
    })
  ]
})See the User Config page for all options you can pass on schemaOrg.
useSchemaOrg([
  // @todo Select Identity: http://unhead.unjs.io/schema-org/guides/identity
  defineWebSite({
    name: 'My Awesome Website',
  }),
  defineWebPage(),
])Your Nuxt app is now serving basic Schema.org, congrats! 🎉
The next steps are: