wip
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import { useAuthStore } from '@/stores/auth.ts'
|
||||
import SignInView from '@/views/SignInView.vue'
|
||||
import MainView from '@/views/MainView.vue'
|
||||
import TestView from '@/views/TestView.vue'
|
||||
|
||||
const authStore = useAuthStore()
|
||||
</script>
|
||||
@@ -9,8 +10,9 @@ const authStore = useAuthStore()
|
||||
<template>
|
||||
<div class="h-screen bg-gray-200">
|
||||
<div class="h-full m-auto p-4">
|
||||
<MainView v-if="authStore.isAuth" />
|
||||
<SignInView v-else />
|
||||
<!-- <MainView v-if="authStore.isAuth" />-->
|
||||
<!-- <SignInView v-else />-->
|
||||
<TestView />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user