Skip to content

vue-doctor/nuxt/nuxt-require-seo-meta ​

Use useSeoMeta({ title, description }) instead of passing meta tags to useHead()

PropertyValue
CategoryNuxt
Default Severitywarning
Confidencemedium
FixableNo
Engineoxlint
Sincev1.0.0
Frameworksnuxt
Test filesNot checked (which files)

Why it matters ​

Use useSeoMeta({ title, description }) instead of passing meta tags to useHead()

How to fix ​

Review the finding and update the code according to best practices below.

Agent Guidance ​

Replace useHead({ meta: [...] }) with useSeoMeta({ title, description, ogTitle, ... }) for type-safe SEO tags.


Rule source: vue-doctor/nuxt/nuxt-require-seo-meta

Released under the MIT License.