Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update english docs #451

Merged
merged 6 commits into from
Apr 20, 2020
Merged

docs: update english docs #451

merged 6 commits into from
Apr 20, 2020

Conversation

fireairforce
Copy link
Contributor

Checklist
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

Update the engilsh document for qiankun2.0

Sorry, something went wrong.

@@ -78,8 +118,6 @@
- prefetch - `boolean | 'all' | string[] | (( apps: RegistrableApp[] ) => { criticalAppNames: string[]; minorAppsName: string[] })` - optional, whether to enable prefetch, default is `true`.

A configuration of `true` starts prefetching static resources for other subapplications after the first subapplication mount completes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里应该是中文文档那里被删了..
回滚一下然后把中文那边也补一下?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里已经处理了~


- activeRule - - `string | (location: Location) => boolean | Array<string | (location: Location) => boolean> ` - required,activation rules for micro-apps.

* Support direct configuration of string or string array, such as `activeRule: '/ app1'` or `activeRule: [' / app1 ',' / app2 ']`, when configured as a string, it will directly follow the path part in the url Do a prefix match. A successful match indicates that the current application will be activated.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'/ app1' 多了空格

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的,我修改一下。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还有这里多了空格
activeRule: [' / app1 ',' / app2 ']

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done了

@fireairforce
Copy link
Contributor Author

已经修改啦~
@kuitos

@kuitos kuitos merged commit 42832bd into umijs:master Apr 20, 2020
@kuitos
Copy link
Member

kuitos commented Apr 20, 2020

Thanks for your great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants