NuxtN
Nuxt10mo ago
ok3n

Configure unhead v2 in Nuxt 15.6

Hi!
In
unhead
v2, the template param is opt-in.
Documentation says to:

import { TemplateParamsPlugin } from 'unhead/plugins'

createHead({
  plugins: [TemplateParamsPlugin]
})

How can I do this in Nuxt 3.15.6 ? Should I create a new defineNuxtPlugin with unhead in it?
Was this page helpful?