mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 02:41:46 +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 => {
|
.map(fullPath => {
|
||||||
const name = getName(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}
|
const content = `${tips}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user