Skip to content

vueuse/head

Repository files navigation

@vueuse/head - πŸŒ‡ Sunset

NPM version NPM Downloads GitHub stars

Document head management for Vue. Powered by Unhead.


Created by egoist, maintained by harlan-zw
πŸ’› Support ongoing development by sponsoring us.
Follow 🐦 @harlan_zw for updates β€’ Join Discord for support

πŸŒ‡ Sunsetting @vueuse/head

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.

Installation guide

Docs

Unhead documentation

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.

Sponsors

License

MIT Β© EGOIST MIT License Β© 2022-PRESENT Harlan Wilton