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: add faqs #5044

Merged
merged 1 commit into from
Jul 20, 2020
Merged

docs: add faqs #5044

merged 1 commit into from
Jul 20, 2020

Conversation

xiaohuoni
Copy link
Member

@xiaohuoni xiaohuoni commented Jul 16, 2020

参考

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

View rendered docs/docs/faq.zh-CN.md

@codecov
Copy link

codecov bot commented Jul 16, 2020

Codecov Report

Merging #5044 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5044   +/-   ##
=======================================
  Coverage   82.84%   82.84%           
=======================================
  Files         153      153           
  Lines        3381     3381           
  Branches      888      888           
=======================================
  Hits         2801     2801           
  Misses        573      573           
  Partials        7        7           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e52bcd...26f6662. Read the comment docs.

@xiaohuoni
Copy link
Member Author

无情 ci,改个标点符号都要挂我!


### 如何动态修改 title ?

可以通过 [react-document-title](https://github.com/gaearon/react-document-title) 动态修改 title 。
Copy link
Contributor

Choose a reason for hiding this comment

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

不需要这样,已经有一个 @umijs/plugin-helmet 插件了,直接

import { Helmet } from 'umi';

还能兼容 SSR,多好

Copy link
Contributor

Choose a reason for hiding this comment

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

这里需要改下。

Copy link
Member Author

Choose a reason for hiding this comment

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

这个插件使用的是 react-helmet ,在混合应用中,ios 端 web 容器内,使用 react-helmet 有失效的情况。

@afc163
Copy link
Contributor

afc163 commented Jul 20, 2020

👍

@sorrycc sorrycc merged commit ff8bdf4 into master Jul 20, 2020
@delete-merged-branch delete-merged-branch bot deleted the docs-faqs branch July 20, 2020 07:17
@sorrycc
Copy link
Member

sorrycc commented Jul 20, 2020

👍

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.

兼容ie的问题 FAQ
4 participants