Sharkey/src/client/app/mobile/views/pages/index.vue

17 lines
290 B
Vue
Raw Normal View History

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