mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-03 01:46:44 -06:00
17 lines
335 B
Vue
17 lines
335 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({
|
|
name: 'index',
|
|
|
|
components: {
|
|
Home,
|
|
Welcome: () => import('./index.welcome.vue').then(m => m.default),
|
|
}
|
|
});
|
|
</script>
|