+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/docs/.vitepress/theme/index.mjs b/demo/docs/.vitepress/theme/index.mjs
index 815942d..3569f6f 100644
--- a/demo/docs/.vitepress/theme/index.mjs
+++ b/demo/docs/.vitepress/theme/index.mjs
@@ -1,7 +1,12 @@
import DefaultTheme from 'vitepress/theme'
// import { defineConfig } from 'vitepress'
+import Layout from './layouts/Layout.vue'
+
export default {
extend: DefaultTheme,
- Layout: DefaultTheme.Layout
+ Layout: Layout,
+ enhanceApp({ router }) {
+ router.go('/mpx-ui/guide/button.html')
+ }
}
diff --git a/demo/docs/.vitepress/theme/layouts/Layout.vue b/demo/docs/.vitepress/theme/layouts/Layout.vue
index 86f8700..8f05c6a 100644
--- a/demo/docs/.vitepress/theme/layouts/Layout.vue
+++ b/demo/docs/.vitepress/theme/layouts/Layout.vue
@@ -1,46 +1,39 @@