A bug free version of vue-feather-icon
$ npm install --save vue-feather-icon-corrected
Use it like vue-feather-icon
, except replace with vue-feather-icon-corrected
when importing
// main.js
import Vue = from 'vue'
import VueFeatherIcon from 'vue-feather-icon-corrected'
Vue.use(VueFeatherIcon)
<tempalte>
<feather-activity></feather-activity>
<!-- or -->
<feather-icon type="activity"></feather-icon>
</tempalte>
<script>
import { Activity } from 'vue-feather-icon-corrected'
export default {
components: {
ActivityIcon: Activity
}
}
</script>
<tempalte>
<activity-icon></activity-icon>
</tempalte>