Skip to content

Commit 1422711

Browse files
authored
Merge pull request #216 from ZJS248/fix/primevue-resolver
fixed auto import primevue components without ts support
2 parents 64823c6 + 20bf86e commit 1422711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/resolvers/prime-vue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export function PrimeVueResolver(options: PrimeVueResolverOptions = {}): Compone
146146

147147
if (components.includes(name)) {
148148
return {
149-
path: `primevue/${name.toLowerCase()}/${name}.vue`,
149+
path: `primevue/${name.toLowerCase()}`,
150150
sideEffects,
151151
}
152152
}

0 commit comments

Comments
 (0)