@vueuse/head is officially sunset 🌆
The @vueuse/head
package has been sunset in favour of Unhead. This means no new features will be added to this package and
installation of this package directly will be discouraged.
Unhead is a any-framework document head manager with a focus on delightful DX and performance.
It's used in the Nuxt core and is part of the UnJS ecosystem.
This package and Unhead share an almost identical API and migrating in most cases will just involve updating the package names.
The @vueuse/head
package will continue to receive bug fixes and security updates for the foreseeable future.
If you have any questions or problems, please make an issue on the Unhead repo.
Migrating to Unhead from @vueuse/head
pnpm remove @vueuse/head
pnpm add @unhead/vue
Replace all imports of @vueuse/head
with @unhead/vue
.
If you're using the <Head>
component you will need to import it from @unhead/vue/components
.