unhead-vue-skilld

Installation
SKILL.md

unjs/unhead @unhead/vue@3.1.0

Tags: next: 3.0.0-beta.9, beta: 3.0.0-beta.12, rc: 3.0.0-rc.4

References: Docs

API Changes

This section documents version-specific API changes — prioritize recent major/minor releases.

  • BREAKING: createHead() and createServerHead() removed from @unhead/vue root in v2 — use subpath imports: createHead() from @unhead/vue/client (SPA) or @unhead/vue/server (SSR); createServerHead() no longer exists source

  • BREAKING: Implicit context removed in v2 — setHeadInjectionHandler() deleted; useHead() called after an await in lifecycle hooks (e.g. onMounted) throws because Vue context is lost; wrap async data fetching before calling useHead() source

  • BREAKING: vmid and hid tag properties removed in v2 — use key for deduplication: script: [{ key: 'my-key' }] source

  • BREAKING: children tag property removed in v2 — use innerHTML instead source

  • BREAKING: body: true tag property removed in v2 — use tagPosition: 'bodyClose' instead source

  • BREAKING: useScript() no longer returns a Promise in v2 — .then() calls silently fail; use .onLoaded(() => ...) instead source

Installs
53
GitHub Stars
165
First Seen
Mar 2, 2026
unhead-vue-skilld — harlan-zw/vue-ecosystem-skills