diff --git a/scripts/utils.ts b/scripts/utils.ts index cc4ab38cc04e..b5b24c4e1d5b 100644 --- a/scripts/utils.ts +++ b/scripts/utils.ts @@ -109,7 +109,7 @@ export async function readIndexes() { const pkg: VueUsePackage = { ...info, - dir: relative(DIR_ROOT, dir), + dir: relative(DIR_ROOT, dir).replace(/\\/g, '/'), docs: info.addon ? `${DOCS_URL}/${info.name}/README.html` : undefined, }