{"library":"vue-svgicon","type":"library","category":null,"description":"vue-svgicon is a build-time utility for Vue 2.x projects that converts raw SVG files into optimized Vue components. It provides both a command-line interface (`vsvg`) and a programmatic API to automate the generation process, supporting features like custom icon templates, ES6 module output, and integration with SVGO for further optimization of SVG assets. The current stable version for Vue 2 applications is 3.3.2. While this specific package targets Vue 2, the project has evolved into the `@yzfe/vue-svgicon` package for Vue 3 compatibility, which is actively maintained. The core differentiator is its approach of pre-compiling SVGs into Vue components, which can lead to better performance by embedding optimized SVGs directly into the application bundle rather than loading them at runtime, offering a distinct advantage over runtime SVG loaders.","language":"javascript","status":"maintenance","version":"3.3.2","tags":["javascript","vue","vue2.0","svg","icon","svgicon","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-svgicon","imports":["import SvgIcon from 'vue-svgicon'","import build from 'vue-svgicon/dist/lib/build'","import 'icons/my-icon'"]},{"cmd":"yarn add vue-svgicon","imports":[]},{"cmd":"pnpm add vue-svgicon","imports":[]}],"homepage":null,"github":"https://github.com/MMF-FE/vue-svgicon","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-svgicon","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-svgicon/compatibility"}}