mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 09:23:08 +02:00
18 lines
332 B
Vue
18 lines
332 B
Vue
|
<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>
|