diff --git a/packages/plugin-vue/src/runtime/shared.ts b/packages/plugin-vue/src/runtime/shared.ts index 711667de..d506c487 100644 --- a/packages/plugin-vue/src/runtime/shared.ts +++ b/packages/plugin-vue/src/runtime/shared.ts @@ -21,7 +21,7 @@ export function getRealRuntimePath(): string { export function getVuePath(): string { try { - return require.resolve('Vue', { + return require.resolve('vue', { paths: [process.cwd()], }); } catch (error) {