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

17 lines
279 B
Vue
Raw Normal View History

2018-02-09 21:56:33 -08:00
<template>
2018-02-20 08:39:51 -08:00
<component :is="os.isSignedIn ? 'home' : 'welcome'"></component>
2018-02-09 21:56:33 -08:00
</template>
<script lang="ts">
import Vue from 'vue';
2018-02-20 08:39:51 -08:00
import Home from './home.vue';
import Welcome from './welcome.vue';
2018-02-09 21:56:33 -08:00
export default Vue.extend({
components: {
2018-02-20 08:39:51 -08:00
Home,
Welcome
2018-02-09 21:56:33 -08:00
}
});
</script>