19 lines
442 B
Vue
19 lines
442 B
Vue
<script setup lang="ts">
|
|
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="h-screen bg-gray-500">
|
|
<div class="h-full m-auto py-4 md:w-full sm:w-full w-full">
|
|
<MainView v-if="authStore.isAuth" />
|
|
<SignInView v-else />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style></style>
|