Install Nuxt Schema.org
Setup Module
@nuxtjs/seo includes this module. If your app uses @nuxtjs/seo, skip this step.
npx nuxt module add schema-orgnpm i nuxt-schema-orgyarn add nuxt-schema-orgpnpm i nuxt-schema-orgbun i nuxt-schema-orgUse Nuxt 4.6+ or Nuxt 5. Use Node 22.22.3+, 24.15.0+, or 26+. If you use Nuxt Content, use version 3.
Import app functions from #schema-org/app. Import server functions from #schema-org/server.
This module requires SSR for automatic schema generation. For SPA/CSR apps, manually add schema:
useHead({
script: [{
type: 'application/ld+json',
innerHTML: JSON.stringify(yourSchema)
}]
})Verifying Installation
After you've set up the module, you should be able to visit your home page and inspect the Schema.org. You'll find the
<script type="application/ld+json"> tag with the default Schema.org nodes in the <head>.
This is generated by the defaults Schema.org and you can modify the output if it's not what you need.
You can debug this further in Nuxt DevTools under the Schema.org tab.
If you use the Schema.org DevTools panel, install the optional host module:
pnpm add -D nuxtseo-devtools-host@^1Restart your development server after installation. The module loads the host automatically.
You do not need to add it to modules.
Next Steps
It's recommended to use this module with Nuxt Robots so that the non-indexable paths are automatically excluded from adding Schema.org.
Other suggestions: