{"library":"unplugin-svg-vue-component","type":"library","category":null,"description":"unplugin-svg-vue-component is a versatile utility that allows developers to import SVG files directly as functional Vue components, supporting both Vue 2.7 and Vue 3.x applications through a unified API. It leverages the `unplugin` architecture, enabling it to integrate seamlessly across various build tools like Vite. The current stable version, as of the provided metadata, is 0.1.1. Its release cadence follows a feature and bug-fix driven approach rather than a fixed schedule. A key differentiator is its dual Vue version compatibility and the optional integration with SVGO for robust SVG optimization, offering a consolidated solution compared to maintaining separate SVG loaders for different Vue versions or build environments.","language":"javascript","status":"active","version":"0.1.1","tags":["javascript","vite","svg-plugin","vite-plugin","vite-svg","vue2","vue3","vue","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install unplugin-svg-vue-component","imports":["import svgPlugin from 'unplugin-svg-vue-component/vite'","import IconName from './path/to/icon.svg'","/// <reference types=\"unplugin-svg-vue-component/client\" />"]},{"cmd":"yarn add unplugin-svg-vue-component","imports":[]},{"cmd":"pnpm add unplugin-svg-vue-component","imports":[]}],"homepage":null,"github":"https://github.com/jaw52/unplugin-svg-vue-component","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/unplugin-svg-vue-component","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/unplugin-svg-vue-component/compatibility"}}