harlan-zw / nuxt-seo-experiments

Powerful SEO DX improvements that may or may not land in the Nuxt core.
https://nuxtseo.com/experiments
73 stars 9 forks source link

Using unhead alongside `useServerSeoMeta` ? #5

Closed lewebsimple closed 1 year ago

lewebsimple commented 1 year ago

Details

I'm trying to wrap my head around SEO best practices with Nuxt and I'm a little confused about the right way to set page title, ogTitle, etc.

While Nuxt provides useServerSeoMeta to set meta fields, this project makes the whole process a lot easier / cleaner. But will the two approaches interfere or can I combine them in the same project ?

Thanks!

harlan-zw commented 1 year ago

Nope, they are compatible. Nuxt and this module both use Unhead, this module just implements some of the experimental features.

Both are fully compatible though.

With the latest version of this package, it will actually extract title and titleTemplate from useServerSeoMeta, which should make it more compatible.