vue-svg-loader icon indicating copy to clipboard operation
vue-svg-loader copied to clipboard

SVG not displaying on Safari when app is published as web component

Open radKoz opened this issue 6 years ago • 1 comments

I'm using https://github.com/vuejs/vue-web-component-wrapper to build web component. When I serve app or build and open demo.html from dist svgs works fine on safari but when I inject this web component in another app (I tried with several angular apps) I see squares instead of svg files. When I remove vue-svg-loader and use external svg inside <img> tag everything is working. I don't know if this library is making this issue but without it everything works fine

radKoz avatar Feb 13 '19 13:02 radKoz

I believe this issue is related to the use of const which isn't supported in strict mode.

leejacobson avatar Mar 04 '19 17:03 leejacobson