diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 3def232b..5d56f37e 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -7,7 +7,7 @@ import { transformerTwoslash } from '@shikijs/vitepress-twoslash' export default defineConfig({ //根据环境变量决定打包路径 // base: process.env.NODE_ENV === 'production' ? '/zerdocs/' : '/', - // base: '/zerdocs/',//配置打包获取静态资源路径 + base: '/zerdocs/',//配置打包获取静态资源路径 outDir: '../dist', cleanUrls: true, //去掉url中的.html后缀 // srcDir:'./src', //相对于docs