Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
radKoz opened this issue Feb 13, 2019 · 1 comment
Open

Comments

@radKoz
Copy link

radKoz commented Feb 13, 2019

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

@leejacobson
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants