1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <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>
|