Schema guides Platform
How to add schema to Vue
Category: framework
Plugins and apps
- @vueuse/head
- Nuxt (see Nuxt guide) for SSR
Manual implementation
Nuxt 3: useHead with script tag; plain Vue SPA: prerender marketing routes or SSR.
Troubleshooting
- SPA indexing gaps
Prerender or SSR templates that target organic traffic. - i18n duplicate entities
Emit one graph per locale URL with localized strings.
Overview
Nuxt is the practical default for Vue + SEO: useHead can attach JSON-LD per route with access to async data. Plain Vue SPAs should still prerender top landing pages.
Align schema with router-view boundaries so each URL emits one coherent graph.