更新任务
This commit is contained in:
1 parent
92618b9a05
commit
2fe64b8f26
159 files changed
+714
-3448
No files matched your search
@@ -6,6 +6,7 @@ import { TDesignResolver } from 'unplugin-vue-components/resolvers'
|
||||
|
||||
import { handleHeadMeta } from '../theme/utils/handleHeadMeta'
|
||||
import { search as zhSearch } from './zh'
|
||||
import sidebar from "../../../autoSidebar";
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
@@ -67,7 +68,8 @@ export default defineConfig({
|
||||
|
||||
vite: {
|
||||
plugins: [
|
||||
// ...
|
||||
// 自动更新列表
|
||||
sidebar("docs\\.vitepress","\\docs\\notes"),
|
||||
AutoImport({
|
||||
resolvers: [
|
||||
TDesignResolver({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { type DefaultTheme, defineConfig } from 'vitepress'
|
||||
|
||||
import { createSideBarZH } from '../theme/utils/createSideBar'
|
||||
import autoSidebar from '../autoSidebar'
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
@@ -28,7 +28,7 @@ export default defineConfig({
|
||||
text: '最近更新时间',
|
||||
},
|
||||
|
||||
sidebar: createSideBarZH(),
|
||||
sidebar: autoSidebar,
|
||||
|
||||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://github.com/duyl328' },
|
||||
|
||||
Reference in new issue
Block a user