icon2vue
Generate vue component from svg.
Install
# use in cli
npm install -g icon2vue
# use in project
npm install --dev icon2vue
Usage
Use in cli
icon2svg -i ./icon.svg -0 Icon.vue
Use in project
import { generate } from 'icon2vue'
const vueFile = generate(svgString, 'AddIcon')