src/App.vue
@@ -1,5 +1,6 @@ <script setup> import {onMounted} from "vue"; import { RouterView } from "vue-router"; import changeTheme from "@/utils/changeTheme.js"; onMounted(()=>{ @@ -8,7 +9,13 @@ </script> <template> <RouterView /> <div class="p-root"> <RouterView /> </div> </template> <style scoped></style> <style scoped> .p-root { height: 100%; } </style>