1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| <script setup>
| import {onMounted} from "vue";
| import { RouterView } from "vue-router";
| import changeTheme from "@/utils/changeTheme.js";
|
| onMounted(()=>{
| changeTheme("blue");
| });
| </script>
|
| <template>
| <div class="p-root">
| <RouterView />
| </div>
| </template>
|
| <style scoped>
| .p-root {
| height: 100%;
| }
| </style>
|
|