<script setup lang="ts"> import { RouterLink, RouterView } from "vue-router"; import { ElConfigProvider } from "element-plus"; import zhCn from "element-plus/dist/locale/zh-cn.mjs"; const locale = zhCn; </script> <template> <el-config-provider :locale="locale"> <RouterView /> </el-config-provider> </template> <style scoped> header { line-height: 1.5; max-height: 100vh; } .logo { display: block; margin: 0 auto 2rem; } nav { width: 100%; font-size: 12px; text-align: center; margin-top: 2rem; } nav a.router-link-exact-active { color: var(--color-text); } nav a.router-link-exact-active:hover { background-color: transparent; } nav a { display: inline-block; padding: 0 1rem; border-left: 1px solid var(--color-border); } nav a:first-of-type { border: 0; } </style>