forked fromunjs/unhead
- Notifications
You must be signed in to change notification settings - Fork0
Unhead is the any-framework document head manager built for performance and delightful developer experience.
License
NotificationsYou must be signed in to change notification settings
stvnw/unhead
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Universal document tag manager. Tiny, adaptable and full featured.
Status:v1.9 Released Please report any issues 🐛 Made possible by mySponsor Program 💖 Follow me@harlan_zw 🐦 • JoinDiscord for help |
- 🌳 Powerful pluggable core with a tiny footprint
- 🍣 All the good stuff: deduping, sorting, title templates, template params, etc.
- 🪨 Rock-solid DOM updates, fast and tiny (~1kB minzipped)
- 🚀 Add-ons for extra oomph: Capo.js, Tree-shaking,
useSeoMeta
,useScript
, etc. - 💎 Fully typed with MDN docs
- 🤝 Used byNuxt with more framework support coming soon.
Visit thedocumentation 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.jsimport{useHead}from'unhead'useHead({title:'About',meta:[{name:'description',content:'Learn more about us.'},],})
MIT License © 2022-PRESENTHarlan Wilton
About
Unhead is the any-framework document head manager built for performance and delightful developer experience.
Resources
License
Stars
Watchers
Forks
Packages0
No packages published
Languages
- TypeScript100.0%