Skip to content

Commit

Permalink
📝 add umi plugin usage about credential cookie setting (umijs#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuitos committed Mar 19, 2021
1 parent fffd242 commit 73283c8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/faq/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,24 @@ export async function mount(props) {
});
```

* 如果你是通过 [umi plugin](https://umijs.org/zh-CN/plugins/plugin-qiankun) 来使用 qiankun 的,那么你只需要给对应的微应用开启 credentials 配置即可:

```diff
export default {
qiankun: {
master: {
apps: [
{
name: 'app',
entry: '//app.alipay.com/entry.html',
+ credentials: true,
}
]
}
}
}
```




Expand Down

0 comments on commit 73283c8

Please sign in to comment.