mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Icon): add en tip
This commit is contained in:
parent
58fa4fee1c
commit
85e1548fc5
@ -57,6 +57,8 @@ Icon uses font file in `yzcdn.cn` by default,if you want to use the local font
|
||||
import 'vant/lib/icon/local.css';
|
||||
```
|
||||
|
||||
> Tips: Starting from version 2.10.13, Vant will use local font files in woff2 format by default
|
||||
|
||||
### Add custom iconfont
|
||||
|
||||
```css
|
||||
|
@ -59,7 +59,7 @@ Icon 组件默认引用有赞 CDN 提供的字体文件,并通过网络下载
|
||||
import 'vant/lib/icon/local.css';
|
||||
```
|
||||
|
||||
> Tips: 从 2.10.13 版本开始,Vant 会默认使用 woff2 格式的本地字体文件,只有在不支持 woff2 字体的低端浏览器才会加载有赞 CDN 的网络图标。
|
||||
> Tips: 从 2.10.13 版本开始,Vant 会默认使用 woff2 格式的本地字体文件,只有在不支持 woff2 字体的低端浏览器上才会加载有赞 CDN 的网络图标。
|
||||
|
||||
### 自定义图标
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user