cool-svg-icon

1.0.1 • Public • Published

1. import svg-icon in your app.js

import Icon from 'cool-svg-icon';

Vue.component('icon', Icon);  

2. use the svg icon in your vue!

  • name: svg file name
  • w: width (accept String or Number)
  • h: height (accept String or Nnmber)
<icon name="chameleon" :w="24" :h="24"></icon>

Readme

Keywords

none

Package Sidebar

Install

npm i cool-svg-icon

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

6.98 kB

Total Files

6

Last publish

Collaborators

  • mopacha