2018-02-10 05:56:33 +00:00
|
|
|
<template>
|
2018-05-27 04:49:09 +00:00
|
|
|
<component :is="$store.getters.isSignedIn ? 'home' : 'welcome'"></component>
|
2018-02-10 05:56:33 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
2020-01-29 19:37:25 +00:00
|
|
|
import Home from './index.home.vue';
|
2018-02-10 05:56:33 +00:00
|
|
|
|
|
|
|
export default Vue.extend({
|
2020-02-01 00:00:22 +00:00
|
|
|
name: 'index',
|
|
|
|
|
2018-02-10 05:56:33 +00:00
|
|
|
components: {
|
2018-02-20 16:39:51 +00:00
|
|
|
Home,
|
2020-01-29 19:37:25 +00:00
|
|
|
Welcome: () => import('./index.welcome.vue').then(m => m.default),
|
2018-02-10 05:56:33 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|