28 lines
465 B
Vue
28 lines
465 B
Vue
|
<template>
|
||
|
<n-message-provider placement="top-right">
|
||
|
<main-app />
|
||
|
</n-message-provider>
|
||
|
</template>
|
||
|
|
||
|
|
||
|
<script setup>
|
||
|
import MainApp from "./components/MainApp.vue";
|
||
|
import { NMessageProvider } from "naive-ui";
|
||
|
import { onMounted } from "vue";
|
||
|
import { store } from "./store";
|
||
|
|
||
|
const setTitle = async () => {
|
||
|
document.title = await store.loadTitle();
|
||
|
};
|
||
|
|
||
|
onMounted(() => {
|
||
|
setTitle();
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
body {
|
||
|
background-color: black;
|
||
|
}
|
||
|
</style>
|