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@2 feather-icons@4 vue-feather@1
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>
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Opera (latest)
- Edge (latest)
- Internet Explorer 9