2.8.2
chrome73
2.6.10
https://codepen.io/anon/pen/wZRRGW?&editable=true
在element-ui2.8.2版本上写个
显示icon
没有显示icon
Translation of this issue:
2.8.2
Chrome73
2.6.10
Https://codepen.io/anon/pen/wZRRGW?&editable=true
Write on element-ui2.8.2
Display icon
No icon displayed
@lilu1814 2.8.2版本貌似没有这个icon了
https://element.eleme.io/#/zh-CN/component/icon
el-icon-circle-check
the new icons exceed the size limit of webpack url-loader .
I think the problem is in file-loader publicPath.
I had the same problem after upgrading to 2.8.2. Icons were not loading/showing.
Solved after clean install...
rm -rf node_modules/
npm install
To me it looks like the generated path to the icon files is wrong.
_npm run build_ generates element-icons.ttf and element-icons.woff
in dist/static/fonts/
but they are expected to be loaded from /dist/static/css/static/fonts/ which leads to a 404 error while loading the page.
GET [myDomain]/dist/static/css/static/fonts/element-icons.535877f.woff net::ERR_ABORTED 404
@lilu1814 2.8.2版本貌似没有这个icon了
https://element.eleme.io/#/zh-CN/component/icon
To me it looks like the generated path to the icon files is wrong.
_npm run build_ generates element-icons.ttf and element-icons.woff
in dist/static/fonts/
but they are expected to be loaded from /dist/static/css/static/fonts/ which leads to a 404 error while loading the page.
GET [myDomain]/dist/static/css/static/fonts/element-icons.535877f.woff net::ERR_ABORTED 404
so have you solve this problem yet?
As a quick 'n dirty workaround I simply copied the icon files to the expected location at the target server.
This works fine, until I'll update element-ui's version where the error will be fixed.
Is there any solution to this problem jet? We are running into the same issue after updating from version 2.4.11 to 2.11.1 any help would be appreciated.
This seems not to be fixed yet!
Most helpful comment
Is there any solution to this problem jet? We are running into the same issue after updating from version 2.4.11 to 2.11.1 any help would be appreciated.