- layui - vue
+ layui - vue
import("../../docs/zh-CN/guide/locale.md"),
meta: { title: "语言" },
},
+ {
+ path: "/zh-CN/guide/dark",
+ component: () => import("../../docs/zh-CN/guide/dark.md"),
+ meta: { title: "夜间" },
+ },
],
},
{
diff --git a/example/src/view/guide.vue b/example/src/view/guide.vue
index 2a91b837..f38094fd 100644
--- a/example/src/view/guide.vue
+++ b/example/src/view/guide.vue
@@ -91,6 +91,11 @@ export default {
title: '主题',
subTitle: 'theme',
path: '/zh-CN/guide/theme',
+ },{
+ id: 3,
+ title: '夜间',
+ subTitle: 'dark',
+ path: '/zh-CN/guide/dark',
},
{
id: 3,
diff --git a/example/src/view/index.vue b/example/src/view/index.vue
index 616a5c28..e13bb70a 100644
--- a/example/src/view/index.vue
+++ b/example/src/view/index.vue
@@ -10,18 +10,27 @@
layui - vue
-
{{ t('home.description') }}
+
{{ t("home.description") }}
- Get Started
+
+ Get Started
+
+
+ Switch Dark
+
- {{ t('home.version') }}:1.0.0
- {{ t('home.download') }}:5463
+ {{ t("home.version") }}:1.0.0
+ {{ t("home.download") }}:5463
@@ -51,7 +60,7 @@
-