paricafe/src/client/pages/index.vue

16 lines
318 B
Vue
Raw Normal View History

2018-02-09 23:56:33 -06:00
<template>
2018-05-26 23:49:09 -05:00
<component :is="$store.getters.isSignedIn ? 'home' : 'welcome'"></component>
2018-02-09 23:56:33 -06:00
</template>
<script lang="ts">
import Vue from 'vue';
import Home from './index.home.vue';
2018-02-09 23:56:33 -06:00
export default Vue.extend({
components: {
2018-02-20 10:39:51 -06:00
Home,
Welcome: () => import('./index.welcome.vue').then(m => m.default),
2018-02-09 23:56:33 -06:00
}
});
</script>