diff --git a/docs/cookbook/README.zh.md b/docs/cookbook/README.zh.md index 638a9ec..b02467c 100644 --- a/docs/cookbook/README.zh.md +++ b/docs/cookbook/README.zh.md @@ -164,7 +164,7 @@ const routes = [ 路由设置: ```js - base: window.__POWERED_BY_QIANKUN__ ? '/app-vue/' : '/child/vue-history/', + base: window.__POWERED_BY_QIANKUN__ ? '/app-vue-history/' : '/child/vue-history/', ``` webpack 打包 publicPath 配置(`vue.config.js`): @@ -180,7 +180,7 @@ const routes = [ 路由设置: ```html - + ``` webpack 打包 publicPath 配置: @@ -201,7 +201,7 @@ const routes = [ providers: [ { provide: APP_BASE_HREF, - useValue: window.__POWERED_BY_QIANKUN__ ? '/app-angular/' : '/child/angular-history/', + useValue: window.__POWERED_BY_QIANKUN__ ? '/app-angular-history/' : '/child/angular-history/', }, ]; ``` diff --git a/docs/guide/tutorial.md b/docs/guide/tutorial.md index db9ab68..34fef5d 100644 --- a/docs/guide/tutorial.md +++ b/docs/guide/tutorial.md @@ -484,7 +484,7 @@ example: refer to the [purehtml examples](https://github.com/umijs/qiankun/tree/master/examples/purehtml) -At the same time, [the subApp must support the CORS](#must-a-sub-app-asset-support-cors) +At the same time, [the subApp must support the CORS](/faq#must-a-sub-app-asset-support-cors) ### umi-qiankun app diff --git a/docs/guide/tutorial.zh.md b/docs/guide/tutorial.zh.md index b7abcaa..c769401 100644 --- a/docs/guide/tutorial.zh.md +++ b/docs/guide/tutorial.zh.md @@ -482,7 +482,7 @@ npm i @angular-builders/dev-server -D 你也可以直接参照 examples 中 purehtml 部分的[代码](https://github.com/umijs/qiankun/tree/master/examples/purehtml) -同时,你也需要开启相关资源的 CORS,具体请参照[此处](#微应用静态资源一定要支持跨域吗?) +同时,你也需要开启相关资源的 CORS,具体请参照[此处](/zh/faq#微应用静态资源一定要支持跨域吗?) ### umi-qiankun 项目