mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
25 lines
426 B
Vue
25 lines
426 B
Vue
<template>
|
|
<router-view/>
|
|
</template>
|
|
|
|
<script>
|
|
import { defineComponent, onMounted } from 'vue'
|
|
import { useStore } from 'vuex'
|
|
import { MutationTypes } from '@/store/constants'
|
|
|
|
export default defineComponent({
|
|
name: 'app',
|
|
setup() {
|
|
const store = useStore()
|
|
onMounted(() => {
|
|
store.commit(MutationTypes.SET_AVAILABLE_FONTS)
|
|
})
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
#app {
|
|
height: 100%;
|
|
}
|
|
</style> |