1.1.0 • Published 7 years ago
@eankeen/vue-feather-icons v1.1.0
vue-feather-icon
Vue component for Feather
install
npm install vue-feather-iconusage
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>1.1.0
7 years ago