2018-12-30 21:10:16 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
import { replace } from 'feather-icons';
|
|
|
|
|
|
|
|
export default Vue.component('icon', {
|
|
|
|
props: {
|
|
|
|
name: {type: String, default: 'circle'},
|
|
|
|
},
|
|
|
|
mounted: function () {
|
|
|
|
replace();
|
|
|
|
},
|
|
|
|
template: `
|
2018-12-30 21:41:24 +00:00
|
|
|
<i :data-feather="name"></i>
|
2018-12-30 21:10:16 +00:00
|
|
|
`,
|
|
|
|
});
|