damianstasik / vue-svg-loader

🔨 webpack loader that lets you use SVG files as Vue components
https://vue-svg-loader.js.org
MIT License
645 stars 86 forks source link

SVG is missing parent's data-v attribute? #166

Open hokkaido opened 3 years ago

hokkaido commented 3 years ago

When using multiple nested components (for instance: app component -> scoped layout component -> scoped page component with inlined svg), it seems to me that only the data-v attribute of the top-most component is set on the svg element, but not the data-v id of the page component itself, which prevents scoped classes from working.