vue-feather-icon

1.2.0 • Public • Published

vue-feather-icon

Vue component for Feather

install

npm install vue-feather-icon

usage

global component

// main.js
import Vue = from 'vue'
import VueFeatherIcon from 'vue-feather-icon'
 
Vue.use(VueFeatherIcon)
<tempalte>
  <feather-activity></feather-activity>
  <!-- or -->
  <feather-icon type="activity"></feather-icon>
</tempalte>

local component

<script>
  import { Activity } from 'vue-feather-icon'
 
  export default {
    components: {
      ActivityIcon: Activity
    }
  }
</script>
 
<tempalte>
  <activity-icon></activity-icon>
</tempalte>

Readme

Keywords

Package Sidebar

Install

npm i vue-feather-icon

Weekly Downloads

182

Version

1.2.0

License

MIT

Last publish

Collaborators

  • mage3k