Files
schoolNews/schoolNewsWeb/src/App.vue
2025-10-08 14:11:54 +08:00

33 lines
694 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div id="app">
<!-- 直接渲染路由由路由配置决定使用什么布局 -->
<router-view />
</div>
</template>
<script setup lang="ts">
// App.vue 只负责渲染路由出口
// 具体的布局NavigationLayout, BlankLayout等由路由配置决定
</script>
<style lang="scss">
#app {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
height: 100vh;
margin: 0;
padding: 0;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
}
</style>