🌿 Nuxt.js Intermediate

How does Nuxt.js handle SEO?

Answer

Nuxt.js provides first-class SEO support through the useHead() and useSeoMeta() composables, which set <head> metadata reactively. useSeoMeta({ title: 'My Page', description: '...' }) sets both standard meta tags and Open Graph tags in one call. You can configure global defaults in nuxt.config.ts under app.head and override them per-page with useHead(). Since Nuxt SSR renders complete HTML server-side, search engine crawlers receive fully populated meta tags. The @nuxtjs/sitemap and @nuxtjs/robots modules add sitemap.xml and robots.txt generation automatically.