@coolfy/cool-svg-icon

1.0.0 • Public • Published

1. import svg-icon in your app.js

import Icon from 'cool-svg-icon/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 @coolfy/cool-svg-icon

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

7.01 kB

Total Files

6

Last publish

Collaborators

  • mopacha