We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e48b82 commit 84d4fe0Copy full SHA for 84d4fe0
src/core/resolvers/vant.ts
@@ -36,8 +36,8 @@ export function VantResolver(options: VantResolverOptions = {}): ComponentResolv
36
return {
37
type: 'component',
38
resolve: (name: string) => {
39
- if (name.startsWith('Vant')) {
40
- const partialName = name.slice(4)
+ if (name.startsWith('Van')) {
+ const partialName = name.slice(3)
41
42
name: partialName,
43
from: `vant/${moduleType}`,
0 commit comments