Closed sdellis closed 5 years ago
This approach works in IE11. It will also be helpful for codesplitting/treeshaking steps discussed in #111 since the icons become components that are "imported" rather than "loaded".
This has been fixed now in the latest 3.1.0 release.
I'm not sure what the browser support for VueDS is, but the SvgIcons do not work in ie11 because ie11 does not support innerHTML on svg elements.
I tried to use the innersvg-polyfill, but it does not seem to be working (even in plain HTML without Vue).
I'm able to get it working using
img
tags with the svg as thesrc
, but that means that icons cannot be filled dynamically with thefill
prop.