Skip to content

Commit 17a46a9

Browse files
authored
fix(nuxt): don't require @vueuse/core installed at root (#4698)
1 parent ff9c4d6 commit 17a46a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export default defineNuxtModule<VueUseNuxtOptions>({
121121
if (pkg === 'shared')
122122
continue
123123

124-
if (!isPackageExists(
124+
if (pkg !== 'core' && !isPackageExists(
125125
`@vueuse/${pkg}`,
126126
{ paths: nuxt.options._layers.map(layer => layer.config.rootDir) },
127127
)) {

0 commit comments

Comments
 (0)