icon2vue
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

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')

Readme

Keywords

none

Package Sidebar

Install

npm i icon2vue

Weekly Downloads

1

Version

0.1.6

License

none

Unpacked Size

16.7 kB

Total Files

12

Last publish

Collaborators

  • stone_edward