Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

tthallos/vue-feather-icon

Repository files navigation

Recommended vue-feather-icons for your project

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>