mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 09:41:17 +11:00
less ugly appearance switch
This commit is contained in:
parent
23878e3f3e
commit
34c1f13d8b
5 changed files with 87 additions and 7 deletions
18
.vitepress/theme/Layout.vue
Normal file
18
.vitepress/theme/Layout.vue
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<script setup lang="ts">
|
||||
import DefaultTheme from "vitepress/theme";
|
||||
import Sidebar from "./components/SidebarCard.vue";
|
||||
|
||||
const { Layout } = DefaultTheme;
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Layout>
|
||||
<template #sidebar-nav-after>
|
||||
<Sidebar />
|
||||
</template>
|
||||
<template>
|
||||
<Content />
|
||||
|
||||
</template>
|
||||
</Layout>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue