fix: 修改本地主题包的文件名

This commit is contained in:
xugaoyi 2022-01-02 21:59:27 +08:00
parent 88c17acf91
commit 7d9c17f094
66 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import { resolve } from 'path' import { resolve } from 'path'
import { defineConfig4CustomTheme } from 'vuepress/config' import { defineConfig4CustomTheme } from 'vuepress/config'
import { VdoingThemeConfig } from '../../theme-vdoing/types' import { VdoingThemeConfig } from '../../vdoing/types'
// import { VdoingThemeConfig } from 'vuepress-theme-vdoing/types' // import { VdoingThemeConfig } from 'vuepress-theme-vdoing/types'
import dayjs from 'dayjs' import dayjs from 'dayjs'
import baiduCode from './config/baiduCode' // 百度统计hm码 import baiduCode from './config/baiduCode' // 百度统计hm码
@ -9,7 +9,7 @@ import htmlModules from './config/htmlModules' // 自定义插入的html块
export default defineConfig4CustomTheme<VdoingThemeConfig>({ export default defineConfig4CustomTheme<VdoingThemeConfig>({
// theme: 'vdoing', // 使用npm包主题 // theme: 'vdoing', // 使用npm包主题
theme: resolve(__dirname, '../../theme-vdoing'), // 使用本地主题 theme: resolve(__dirname, '../../vdoing'), // 使用本地主题
locales: { locales: {
'/': { '/': {