123456789101112131415161718192021222324252627282930313233343536 |
- <template>
- <Navbar />
- <router-view/>
- </template>
- <script setup>
- import Navbar from './components/Navbar.vue';
- </script>
- <style>
- #app {
- font-family: Avenir, Helvetica, Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-align: center;
- color: #2c3e50;
- }
- /* 移除原有的 nav 样式,因为 Navbar 组件已经包含了样式 */
- </style>
|