Work on login
This commit is contained in:
+2
-3
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="is-flex">
|
||||
<Sidebar />
|
||||
<Sidebar v-if="isLogedIn"/>
|
||||
<main class="p-5 is-flex-grow-1">
|
||||
<RouterView />
|
||||
</main>
|
||||
@@ -8,11 +8,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { applyTheme } from '@/components/theme';
|
||||
import Sidebar from '@/components/Sidebar.vue';
|
||||
import { isLogedIn } from './global';
|
||||
|
||||
applyTheme();
|
||||
|
||||
const { t } = useI18n();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user