You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
When using vue-svg-loader (?inline), if the svg file contains <style> in the defs, then it will apparently be ignored and the svg will be with no style once the Nuxt app is built/generated.
Issue #24 was about that problem and it is now closed, yet I think no effective solution has been provided so far.
So ok, we can use the raw-loader but still, the original problem remains hence a new issue.
In a project, I ended up fixing that issue by replacing the loader by svg-to-vue-component:
Hi!
When using vue-svg-loader (
?inline
), if the svg file contains<style>
in the defs, then it will apparently be ignored and the svg will be with no style once the Nuxt app is built/generated.Issue #24 was about that problem and it is now closed, yet I think no effective solution has been provided so far.
So ok, we can use the raw-loader but still, the original problem remains hence a new issue.
In a project, I ended up fixing that issue by replacing the loader by svg-to-vue-component:
It seems to be working well. Should I open a PR?
The text was updated successfully, but these errors were encountered: