Skip to content

Commit

Permalink
⚙️ config: 手动补全 bundler ;
Browse files Browse the repository at this point in the history
  • Loading branch information
ruan-cat committed Mar 25, 2024
1 parent f12fa2c commit 87adf5e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/monorepo-1/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineUserConfig } from "vuepress";
import { viteBundler } from "@vuepress/bundler-vite";
import theme from "./theme.js";

export default defineUserConfig({
Expand All @@ -10,6 +11,11 @@ export default defineUserConfig({

theme,

bundler: viteBundler({
viteOptions: {},
vuePluginOptions: {},
}),

// 和 PWA 一起启用
// shouldPrefetch: false,
});
6 changes: 6 additions & 0 deletions packages/monorepo-2/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineUserConfig } from "vuepress";
import { viteBundler } from "@vuepress/bundler-vite";
import theme from "./theme.js";

export default defineUserConfig({
Expand All @@ -10,6 +11,11 @@ export default defineUserConfig({

theme,

bundler: viteBundler({
viteOptions: {},
vuePluginOptions: {},
}),

// 和 PWA 一起启用
// shouldPrefetch: false,
});

0 comments on commit 87adf5e

Please sign in to comment.