refactor: Migrate to Vue components
This commit is contained in:
12
client/js/components/loading-spinner.vue
Normal file
12
client/js/components/loading-spinner.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<template lang="pug">
|
||||
i.nav-item#notifload(v-bind:class='{ "is-active": loading }')
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: 'loading-spinner',
|
||||
computed: mapState(['loading'])
|
||||
}
|
||||
</script>
|
Reference in New Issue
Block a user