mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bug fix] buildDocsEntry in windows (#2229)
This commit is contained in:
parent
66bd7eb7c5
commit
76d85cc8af
@ -79,7 +79,7 @@ function buildDocsEntry() {
|
||||
])
|
||||
.map(fullPath => {
|
||||
const name = getName(fullPath);
|
||||
return `'${name}': () => import('${path.relative(join('docs/src'), fullPath)}')`;
|
||||
return `'${name}': () => import('${path.relative(join('docs/src'), fullPath).replace(/\\/g, '/')}')`;
|
||||
});
|
||||
|
||||
const content = `${tips}
|
||||
|
Loading…
x
Reference in New Issue
Block a user