杨静

Results 1 issues of 杨静

参见代码: https://github.com/tengmaoqing/vite-plugin-qiankun/blob/164e6dc344edef8c9a44e936cd9c1c747d6be6a1/src/index.ts#L65 例如将子应用vite.config.js里 base 配置为 /foo/bar/ 时,从主应用通过localhost:9999/foo/bar/ 访问时, 由于qiankun置入的前缀包括 ‘/foo/bar/’部分,但后续文件路径也包含重复的‘/foo/bar/’ ,中间的 ‘..’ 只向上了一层目录。 最终访问路径为"localhost:9999/foo/bar/../foo/bar/main.ts",控制台报错找不到文件。