egirlskey/src/web/app/desktop/views/pages/index.vue

18 lines
332 B
Vue
Raw Normal View History

2018-02-10 05:56:33 +00:00
<template>
<component v-bind:is="os.isSignedIn ? 'home' : 'welcome'"></component>
</template>
<script lang="ts">
import Vue from 'vue';
import HomeView from './home.vue';
import WelcomeView from './welcome.vue';
export default Vue.extend({
props: ['os'],
components: {
home: HomeView,
welcome: WelcomeView
}
});
</script>