misskey/src/client/pages/index.vue
syuilo f6154dc0af
v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
2020-01-30 04:37:25 +09:00

16 lines
318 B
Vue

<template>
<component :is="$store.getters.isSignedIn ? 'home' : 'welcome'"></component>
</template>
<script lang="ts">
import Vue from 'vue';
import Home from './index.home.vue';
export default Vue.extend({
components: {
Home,
Welcome: () => import('./index.welcome.vue').then(m => m.default),
}
});
</script>