diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index c02a783..6ebdfce 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -31,7 +31,6 @@ jobs: pnpm install pnpm run docs:build > .vuepress/dist/.nojekyll - - name: 部署文档 uses: JamesIves/github-pages-deploy-action@v4 diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index f1677e1..2b8b1d1 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -1,5 +1,6 @@ import {defineUserConfig} from "vuepress"; import theme from "./theme.js"; +import viteBundler from "@vuepress/bundler-vite"; export default defineUserConfig({ base: "/", @@ -15,7 +16,6 @@ export default defineUserConfig({ ], theme, - // 和 PWA 一起启用 // shouldPrefetch: false, }); diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 6b3c1f0..10dce14 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -5,8 +5,8 @@ "target": "ES2022" }, "include": [ - "docs/.vuepress/**/*.ts", - "docs/.vuepress/**/*.vue" + ".vuepress/**/*.ts", + ".vuepress/**/*.vue" ], "exclude": [ "node_modules"