diff --git a/package-lock.json b/package-lock.json index 40ee299..afbc7df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,6 @@ "license": "MIT", "devDependencies": { "@vuepress/bundler-vite": "2.0.0-rc.8", - "vidstack": "^1.10.9", "vue": "^3.4.16", "vuepress": "2.0.0-rc.8", "vuepress-theme-hope": "2.0.0-rc.27" @@ -3784,4 +3783,4 @@ } } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 3cbd88d..f9c2b6d 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ }, "devDependencies": { "@vuepress/bundler-vite": "2.0.0-rc.8", - "vidstack": "^1.10.9", "vue": "^3.4.16", "vuepress": "2.0.0-rc.8", "vuepress-theme-hope": "2.0.0-rc.27" diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts index 369df9a..3764f87 100644 --- a/src/.vuepress/config.ts +++ b/src/.vuepress/config.ts @@ -1,11 +1,9 @@ import { defineUserConfig } from "vuepress"; import theme from "./theme.js"; -import { hopeTheme } from "vuepress-theme-hope"; export default defineUserConfig({ // 如果你想让你的网站部署到一个子路径下,你将需要设置它。它的值应当总是以斜杠开始,并以斜杠结束。 base: "/", - locales: { "/": { lang: "en-US", @@ -19,16 +17,4 @@ export default defineUserConfig({ }, }, - theme: hopeTheme({ - plugins: { - components: { - components: [ - "VidStack", - ], - }, - }, - }), - - // Enable it with pwa - // shouldPrefetch: false, -}); + theme, \ No newline at end of file