@vueuse/head
2.0.0 · 13 Sep 2023MIT144.5k / weekRepositoryHomepagenpmAtom feed
Release note
@vueuse/head is officially sunset :city_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.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.