Skip to content

Commit

Permalink
fix(plugin-vue): fix vue checking function alias name error
Browse files Browse the repository at this point in the history
  • Loading branch information
innocces committed Jul 25, 2024
1 parent f3f3b75 commit 8cc7f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-vue/src/runtime/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8cc7f0a

Please sign in to comment.