From 7f1747a94e1329aa0c28f95ecdb3fe9a42c06937 Mon Sep 17 00:00:00 2001 From: xugaoyi <894072666@qq.com> Date: Sat, 26 Feb 2022 18:20:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=9B=AE=E5=BD=95=E9=A1=B5=E4=B8=AD?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0titleTag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.ts | 4 +++- vdoing/components/Catalogue.vue | 37 +++++++++-------------------- vdoing/node_utils/getSidebarData.js | 14 +++++++---- 3 files changed, 24 insertions(+), 31 deletions(-) diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index f06453828b..b0286c5ee3 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -1,3 +1,6 @@ +/** + * 提示:如您想使用JS版本的配置文件可参考:https://github.com/xugaoyi/vuepress-theme-vdoing/tree/a2f03e993dd2f2a3afdc57cf72adfc6f1b6b0c32/docs/.vuepress + */ import { resolve } from 'path' import { defineConfig4CustomTheme } from 'vuepress/config' import { VdoingThemeConfig } from 'vuepress-theme-vdoing/types' @@ -5,7 +8,6 @@ import dayjs from 'dayjs' import baiduCode from './config/baiduCode' // 百度统计hm码 import htmlModules from './config/htmlModules' // 自定义插入的html块 - export default defineConfig4CustomTheme({ theme: 'vdoing', // 使用npm包主题 // theme: resolve(__dirname, '../../vdoing'), // 使用本地主题 diff --git a/vdoing/components/Catalogue.vue b/vdoing/components/Catalogue.vue index 59d039e3f8..c2648e9b54 100644 --- a/vdoing/components/Catalogue.vue +++ b/vdoing/components/Catalogue.vue @@ -13,13 +13,12 @@