Skip to content

Commit

Permalink
fix: pull zhead types into context
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jan 6, 2025
1 parent 2bdc0cc commit 7731bdf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
3 changes: 2 additions & 1 deletion packages/bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
"rollup": "^4.30.0",
"unbuild": "3.2.0",
"vue": "^2.7.16",
"vue-router": "^3.6.5"
"vue-router": "^3.6.5",
"zhead": "^2.2.4"
},
"engines": {
"node": "^18.20.5 || ^20.0.0 || >=22.0.0"
Expand Down
1 change: 1 addition & 0 deletions packages/bridge/src/runtime/head/composables.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useHead } from '@unhead/vue'
import type { ComputedGetter } from '@vue/reactivity'
import type { MetaObject } from '@nuxt/schema'
import type {} from 'zhead'

// TODO: remove useMeta support when Nuxt 3 is stable
/** @deprecated Please use new `useHead` composable instead */
Expand Down
15 changes: 6 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7731bdf

Please sign in to comment.