Semantic HTML Auto-injection Verification
✅ Global Schema Auto-injection: Schemas configured in the aeo.schemas array in nuxt.config.ts are automatically injected into all pages. Semantic HTML is also automatically generated with the renderHtml: true option.
✅ Visual Hiding: Generated semantic HTML is hidden with the visually-hidden class, so it's not visible to users, but LLM crawlers (ChatGPT, Perplexity, etc.) and search engines can read it.
Verification Methods
- Open Developer Tools (F12)
- Check in Elements Tab:
<script type="application/ld+json">tag: Check JSON-LD schema<div class="nuxt-aeo-semantic-organization">: Check Organization semantic HTML<div class="nuxt-aeo-semantic-person">: Check Person semantic HTML
- Check semantic HTML: Semantic HTML with the
visually-hiddenclass applied is automatically injected inside the body tag.
Page-specific Schema
ItemList Schema: On this page, we use the useSchema() composable to add ItemList Schema to the page head.
Quick Verification Method
Run the following commands in Developer Tools console:
// Check semantic HTML
document.querySelectorAll('[class*="nuxt-aeo-semantic"]').forEach(el => {
console.log('✅ Found:', el.className, el.innerHTML.substring(0, 100) + '...')
})
// Check JSON-LD schema
document.querySelectorAll('script[type="application/ld+json"]').forEach(script => {
console.log('✅ JSON-LD:', JSON.parse(script.innerHTML))
})Popular Tech Stack (Page-specific Schema)
- 1Nuxt 4https://nuxt.com
- 2TypeScript/tech/typescript
- 3Vue 3https://vuejs.org
- 4Vite/tech/vite
- 5Tailwind CSShttps://tailwindcss.com