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