Vue-svg-loader
lastmod 2026-11-10created 2021-08-262 edits
vue-svg-loader is a webpack loader that lets you import SVG files as Vue components. When you import an SVG, it becomes a component that renders inline SVG, so you can control color and size with CSS and bind attributes. It provides an option to optimize SVGs internally with SVGO.
Use SVG files as Vue components