diff --git a/.vitepress/components/CustomSwitchAppearance.vue b/.vitepress/components/CustomSwitchAppearance.vue
new file mode 100644
index 0000000..55c7673
--- /dev/null
+++ b/.vitepress/components/CustomSwitchAppearance.vue
@@ -0,0 +1,183 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.vitepress/config.js b/.vitepress/config.js
index 3708412..e71f13f 100644
--- a/.vitepress/config.js
+++ b/.vitepress/config.js
@@ -7,6 +7,7 @@ import PanguPlugin from 'markdown-it-pangu'
import { createWriteStream } from 'node:fs'
import { resolve } from 'node:path'
import { SitemapStream } from 'sitemap'
+import { fileURLToPath, URL } from 'node:url'
const links = []
@@ -175,5 +176,17 @@ export default withMermaid({
sitemap.end()
await new Promise((r) => writeStream.on('finish', r))
},
+ vite: {
+ resolve: {
+ alias: [
+ {
+ find: /^.*\/VPSwitchAppearance\.vue$/,
+ replacement: fileURLToPath(
+ new URL('./components/CustomSwitchAppearance.vue', import.meta.url)
+ )
+ }
+ ]
+ }
+ }
})