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

17 lines
328 B
Vue
Raw Normal View History

2018-02-10 06:56:33 +01:00
<template>
2018-02-11 04:08:43 +01:00
<component v-bind:is="$root.$data.os.isSignedIn ? 'home' : 'welcome'"></component>
2018-02-10 06:56:33 +01:00
</template>
<script lang="ts">
import Vue from 'vue';
import HomeView from './home.vue';
import WelcomeView from './welcome.vue';
export default Vue.extend({
components: {
home: HomeView,
welcome: WelcomeView
}
});
</script>