dist/
├── vue-feather.js (UMD)
├── vue-feather.min.js (UMD, compressed)
├── vue-feather.common.js (CommonJS, default)
└── vue-feather.esm.js (ES Module)
npm install vue feather-icons vue-feather
In browser:
<script src="/path/to/vue.js"></script><!-- Vue.js is required -->
<script src="/path/to/feather.js"></script><!-- Feather is required -->
<script src="/path/to/vue-feather.js"></script><!-- Register automatically once loaded -->
import Vue from 'vue';
import VueFeather from 'vue-feather';
Vue.use(VueFeather);
// Or
Vue.component(VueFeather.name, VueFeather);
// Or
Vue.component('vue-feather', VueFeather);
<feather type="feather"></feather>
Author: fengyuanchen
Demo: https://fengyuanchen.github.io/vue-feather/
Source Code: https://github.com/fengyuanchen/vue-feather
#vue #vuejs #javascript