vue-feather-icon
v1.2.0
Published
Vue component for feather icon
Downloads
774
Readme
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>