Skip to content

Commit

Permalink
doc: update quick start
Browse files Browse the repository at this point in the history
  • Loading branch information
awmleer committed Mar 15, 2022
1 parent a0cff11 commit 739395b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docs/guide/quick-start.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ If you are developing an internal project in alibaba group or ant group, please

## Compatibility

If you don't do any additional processing, then antd-mobile default compatibility is iOS Safari >= 10 and Chrome >= 51 (that is, ES6 compatibility standard).

With the following babel configuration, maximum compatibility can be achieved for iOS Safari >= 10 and Chrome >= 49:
We recommend adding the following babel configuration, so that maximum compatibility can be achieved (iOS Safari >= 10 and Chrome >= 49):

```json
{
Expand Down
4 changes: 1 addition & 3 deletions docs/guide/quick-start.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ import { Button } from 'antd-mobile'

## 兼容性

如果你不做任何额外的处理,那么 antd-mobile 默认的兼容性为 iOS Safari >= 10 和 Chrome >= 51(也就是 ES6 的兼容标准)。

而通过下面的 babel 配置后,可以达到最大兼容性,为 iOS Safari >= 10 和 Chrome >= 49:
我们建议在项目中增加下面的 babel 配置,这样可以达到最大兼容性,为 iOS Safari >= 10 和 Chrome >= 49:

```json
{
Expand Down

1 comment on commit 739395b

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Please sign in to comment.