No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
mage3k Merge pull request #5 from palerdot/patch-1
Fix code type for `template`
Latest commit 0162e62 Aug 25, 2017

README.md

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)
<template>
  <feather-activity></feather-activity>
  <!-- or -->
  <feather-icon type="activity"></feather-icon>
</template>

local component

<script>
  import { Activity } from 'vue-feather-icon'

  export default {
    components: {
      ActivityIcon: Activity
    }
  }
</script>

<template>
  <activity-icon></activity-icon>
</template>