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