diff --git a/docs/package.json b/docs/package.json index 3df465e..0f78a42 100644 --- a/docs/package.json +++ b/docs/package.json @@ -21,5 +21,8 @@ "@vuepress/plugin-search": "^2.0.0-rc.18", "@vuepress/theme-default": "^2.0.0-rc.18", "sass-embedded": "^1.81.0" + }, + "dependencies": { + "vite-plugin-vue-devtools": "^7.6.8" } } diff --git a/docs/src/.vuepress/config.ts b/docs/src/.vuepress/config.ts index 032f173..7843d0e 100644 --- a/docs/src/.vuepress/config.ts +++ b/docs/src/.vuepress/config.ts @@ -1,10 +1,11 @@ +import { viteBundler } from '@vuepress/bundler-vite' +import { defineUserConfig } from "vuepress"; import { defaultTheme } from "@vuepress/theme-default"; + //import { searchPlugin } from "@vuepress/plugin-search"; //import { nprogressPlugin } from "@vuepress/plugin-nprogress"; //import { pwaPlugin } from "@vuepress/plugin-pwa"; //import { seoPlugin } from "@vuepress/plugin-seo"; -import { defineUserConfig } from "vuepress"; -import { viteBundler } from '@vuepress/bundler-vite' //import { webpackBundler } from '@vuepress/bundler-webpack' export default defineUserConfig({ @@ -41,6 +42,7 @@ export default defineUserConfig({ vuePluginOptions: {}, }),*/ + bundler: viteBundler({ viteOptions: {}, vuePluginOptions: {},