wip
This commit is contained in:
11
src/App.vue
11
src/App.vue
@@ -1,17 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
import ChatView from '@/views/ChatView.vue'
|
||||
import { useAuthStore } from '@/stores/auth.ts'
|
||||
import SignInView from '@/views/SignInView.vue'
|
||||
import MainView from '@/views/MainView.vue'
|
||||
|
||||
const authStore = useAuthStore()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="chat-fullscreen">
|
||||
<div class="h-100 w-50r margin-auto py-4">
|
||||
<chat-view />
|
||||
<!-- <chat-view v-if="authStore.isAuth" />-->
|
||||
<!-- <sign-in-view v-else />-->
|
||||
<div class="h-screen bg-gray-200">
|
||||
<div class="h-full m-auto p-4">
|
||||
<MainView v-if="authStore.isAuth" />
|
||||
<SignInView v-else />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user