mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-20 09:38:05 +09:00
38 lines
586 B
Vue
38 lines
586 B
Vue
|
<template>
|
||
|
<div v-if="meta">
|
||
|
<XSetup v-if="meta.requireSetup"/>
|
||
|
<XEntrance v-else/>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { defineComponent } from 'vue';
|
||
|
import XSetup from './welcome.setup.vue';
|
||
|
import XEntrance from './welcome.entrance.vue';
|
||
|
import { instanceName } from '@/config';
|
||
|
|
||
|
export default defineComponent({
|
||
|
components: {
|
||
|
XSetup,
|
||
|
XEntrance,
|
||
|
},
|
||
|
|
||
|
data() {
|
||
|
return {
|
||
|
INFO: {
|
||
|
header: [{
|
||
|
title: instanceName || 'Misskey',
|
||
|
icon: null
|
||
|
}]
|
||
|
},
|
||
|
}
|
||
|
},
|
||
|
|
||
|
computed: {
|
||
|
meta() {
|
||
|
return this.$store.state.instance.meta;
|
||
|
},
|
||
|
},
|
||
|
});
|
||
|
</script>
|