This commit is contained in:
syuilo
2018-02-11 12:08:43 +09:00
parent 7664354187
commit 92826c406a
12 changed files with 113 additions and 74 deletions

View File

@@ -1,5 +1,5 @@
<template>
<component v-bind:is="os.isSignedIn ? 'home' : 'welcome'"></component>
<component v-bind:is="$root.$data.os.isSignedIn ? 'home' : 'welcome'"></component>
</template>
<script lang="ts">
@@ -8,7 +8,6 @@ import HomeView from './home.vue';
import WelcomeView from './welcome.vue';
export default Vue.extend({
props: ['os'],
components: {
home: HomeView,
welcome: WelcomeView