mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-27 02:06:43 -06:00
16 lines
328 B
Vue
16 lines
328 B
Vue
<template>
|
|
<component v-bind:is="$root.$data.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({
|
|
components: {
|
|
home: HomeView,
|
|
welcome: WelcomeView
|
|
}
|
|
});
|
|
</script>
|