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

optimize: 仅 runtimeHistory 开启时才导出 setCreateHistoryOptions 和 getCreateHistoryOptions 方法 #5461

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

kuitos
Copy link
Member

@kuitos kuitos commented Sep 22, 2020

Checklist
  • npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

This change is Reviewable

@kuitos kuitos requested a review from sorrycc September 22, 2020 08:54
@sorrycc sorrycc merged commit 20bbce4 into master Sep 22, 2020
@delete-merged-branch delete-merged-branch bot deleted the optimize/runtimehistory branch September 22, 2020 09:09
@zoro-r
Copy link

zoro-r commented Jun 9, 2022

runtimeHistory 如何开启?

@xinpingwang
Copy link

runtimeHistory 如何开启?

参考 https://v3.umijs.org/zh-CN/docs/config#%E9%85%8D%E7%BD%AE 创建一个配置文件,在默认导出中添加 runtimeHistory 属性(https://v3.umijs.org/zh-CN/config#runtimehistory):

export default {
  // ...
  runtimeHistory: {},
  // ...
}

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.

4 participants