trashposs/src/client/pages/index.vue

18 lines
335 B
Vue
Raw Normal View History

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