docs: vuepress构建文档
This commit is contained in:
@ -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,
|
||||
});
|
||||
|
@ -5,8 +5,8 @@
|
||||
"target": "ES2022"
|
||||
},
|
||||
"include": [
|
||||
"docs/.vuepress/**/*.ts",
|
||||
"docs/.vuepress/**/*.vue"
|
||||
".vuepress/**/*.ts",
|
||||
".vuepress/**/*.vue"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
|
Reference in New Issue
Block a user