mirror of
https://github.com/youzan/vant.git
synced 2025-12-13 02:00:53 +08:00
[bug fix] buildDocsEntry in windows (#2229)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user