Add version footer
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="flex flex-col size-dvh">
|
||||
<div class="flex flex-col size-full">
|
||||
<!-- Navigator here -->
|
||||
<Menubar
|
||||
:model="items"
|
||||
@@ -32,10 +32,13 @@
|
||||
</div>
|
||||
</template>
|
||||
</Menubar>
|
||||
<main class="app-main pt-[60px]">
|
||||
<main class="app-main w-full pt-[60px]">
|
||||
<Toast/>
|
||||
<RouterView/>
|
||||
</main>
|
||||
<footer class="fixed bottom-0 right-0">
|
||||
v{{ version }}
|
||||
</footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -44,6 +47,8 @@ import {ref} from "vue";
|
||||
import {useRouter} from "vue-router";
|
||||
import Toast from 'primevue/toast';
|
||||
import {useAuthStore} from "./stores/auth.ts";
|
||||
// noinspection ES6UnusedImports Used in template
|
||||
import { version } from '../package.json'
|
||||
|
||||
const authStore = useAuthStore();
|
||||
const router = useRouter();
|
||||
|
||||
Reference in New Issue
Block a user