[bug report] font file element- icons.woff Slows the first load speed of the page
Open
stale
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Element UI version
2.13.2
### OS/Browsers version
chrome
### Vue version
3.0.0-beta.21
### Reproduction Link
https://codepen.io/pen (请忽略)
### Steps to reproduce
在element-ui/lib/theme-chalk/index.css的@font-face中引入的"fonts/element-icons.woff"会在浏览器首次加载页面时异步获取该文件,从而影响拖慢页面的加载速度。
### What is Expected?
建议使用类似iconfont的方式,在@font-face配置下提供woff2的方式,如:url('data:application/x-font-woff2; ......') format('woff')
### What is actually happening?
没有提供woff2格式字体。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.