Skip to content

Commit a6974f5

Browse files
authored
fix: directly import from vue-router (#572)
1 parent b2bfe7e commit a6974f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/composables/head.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getActiveHead } from 'unhead'
33
import type { useHead as useHead$1 } from '@unhead/vue'
44
import { onBeforeUnmount } from 'vue'
55
import { useRoute } from 'vue-router'
6-
import { useRouter } from '#vue-router'
6+
import { useRouter } from 'vue-router'
77

88
// This is used to store the active head for each path as long as the path's page is still in the DOM
99
const headMap = new Map<

0 commit comments

Comments
 (0)