mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-23 00:33:46 +02:00
Move everything back to vue SFCs
This commit is contained in:
18
resources/assets/scripts/components/core/Icon.vue
Normal file
18
resources/assets/scripts/components/core/Icon.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<i :data-feather="name"></i>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
import { replace } from 'feather-icons';
|
||||
|
||||
export default Vue.extend({
|
||||
name: 'Icon',
|
||||
props: {
|
||||
name: {type: String, default: 'circle'},
|
||||
},
|
||||
mounted: function () {
|
||||
replace();
|
||||
},
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user