Migrate more core components

This commit is contained in:
Dane Everitt 2018-12-30 13:10:16 -08:00
parent 136e4b5b7b
commit 33e09b5619
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
7 changed files with 223 additions and 184 deletions

View file

@ -0,0 +1,14 @@
import Vue from 'vue';
import { replace } from 'feather-icons';
export default Vue.component('icon', {
props: {
name: {type: String, default: 'circle'},
},
mounted: function () {
replace();
},
template: `
<i data-feather="{{ name }}"></i>
`,
});