Unhead is the any-framework document head manager built for performance and delightful developer experience.
Universal document
tag manager. Tiny, adaptable and full featured.
|
Status: v1.7 Released Please report any issues π Made possible by my Sponsor Program π Follow me @harlan_zw π¦ β’ Join Discord for help |
Visit the documentation site for guides and API references.
npm i unhead
Create the head client somewhere in your root application.
import { createHead } from 'unhead'
createHead()
Then use the composables anywhere you want.
// pages/about.js
import { useHead } from 'unhead'
useHead({
title: 'About',
meta: [
{ name: 'description', content: 'Learn more about us.' },
],
})
MIT License Β© 2022-PRESENT Harlan Wilton
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.