Build
parent
79ad3c0a84
commit
66bd1da571
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -5,8 +5,8 @@
|
|||
<link rel="icon" href="/static/client/dist/img/Logo-2-128x128.png">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Vite App</title>
|
||||
<script type="module" crossorigin src="/static/client/dist/assets/index-CJOQRxVt.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/static/client/dist/assets/index-D3MXTPtU.css">
|
||||
<script type="module" crossorigin src="/static/client/dist/assets/index-C7xxuubz.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/static/client/dist/assets/index-DtDMqk5z.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<script setup>
|
||||
<script setup async>
|
||||
import './assets/main.css'
|
||||
import NotificationList from "@/components/Notification/notificationList.vue";
|
||||
import {clientStore} from "@/stores/clientStore.js";
|
||||
|
||||
const store = clientStore()
|
||||
fetch("/client/api/serverInformation").then(res => res.json()).then(res => store.serverInformation = res.data)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
|||
|
|
@ -11,8 +11,7 @@ import {clientStore} from "@/stores/clientStore.js";
|
|||
const app = createApp(App)
|
||||
|
||||
app.use(createPinia())
|
||||
const store = clientStore()
|
||||
await fetch("/client/api/serverInformation").then(res => res.json()).then(res => store.serverInformation = res.data)
|
||||
|
||||
|
||||
|
||||
app.use(router)
|
||||
|
|
|
|||
Loading…
Reference in New Issue