mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 11:16:44 -06:00
35 lines
562 B
Vue
35 lines
562 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: {
|
|
title: instanceName || 'Misskey',
|
|
icon: null
|
|
},
|
|
}
|
|
},
|
|
|
|
computed: {
|
|
meta() {
|
|
return this.$store.state.instance.meta;
|
|
},
|
|
},
|
|
});
|
|
</script>
|