From 4153a78043a974aa5ff55912e649be1096f45992 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com>
Date: Sat, 12 Mar 2022 20:35:42 +0800
Subject: [PATCH] chore: edit extend -> resources
---
example/src/layouts/Layout.vue | 4 +-
example/src/locales/en_US.ts | 2 +-
example/src/locales/zh_CN.ts | 2 +-
example/src/router/zh-CN.ts | 12 +-
example/src/view/hooks.vue | 124 ------------------
example/src/view/{extend.vue => resource.vue} | 0
6 files changed, 10 insertions(+), 134 deletions(-)
delete mode 100644 example/src/view/hooks.vue
rename example/src/view/{extend.vue => resource.vue} (100%)
diff --git a/example/src/layouts/Layout.vue b/example/src/layouts/Layout.vue
index 4a85b8ad..4c6ea3a3 100644
--- a/example/src/layouts/Layout.vue
+++ b/example/src/layouts/Layout.vue
@@ -26,8 +26,8 @@
-
- {{ t("nav.extend") }}
+
+ {{ t("nav.resources") }}
diff --git a/example/src/locales/en_US.ts b/example/src/locales/en_US.ts
index 1e573320..239a2fff 100644
--- a/example/src/locales/en_US.ts
+++ b/example/src/locales/en_US.ts
@@ -3,7 +3,7 @@ export default {
home:"Home",
guide: "Guide",
components: "Components",
- extend: "Extend",
+ resources: "Resources",
material: "Material"
},
home: {
diff --git a/example/src/locales/zh_CN.ts b/example/src/locales/zh_CN.ts
index 40aa5258..39324500 100644
--- a/example/src/locales/zh_CN.ts
+++ b/example/src/locales/zh_CN.ts
@@ -3,7 +3,7 @@ export default {
home:"首页",
guide: "指南",
components: "组件",
- extend: "生态",
+ resources: "生态",
material: "物料"
},
home: {
diff --git a/example/src/router/zh-CN.ts b/example/src/router/zh-CN.ts
index fc91fef0..c0b2d628 100644
--- a/example/src/router/zh-CN.ts
+++ b/example/src/router/zh-CN.ts
@@ -1,10 +1,10 @@
-import BaseLayout from "../layouts/Layout.vue";
-import Component from "../view/component.vue";
-import Hooks from "../view/hooks.vue";
import Guide from "../view/guide.vue";
import Index from "../view/index.vue";
-import Extend from "../view/extend.vue";
+import Resource from "../view/resource.vue";
import Material from "../view/material.vue";
+import BaseLayout from "../layouts/Layout.vue";
+import Component from "../view/component.vue";
+
const zhCN = [
{
path: "/",
@@ -18,8 +18,8 @@ const zhCN = [
meta: { title: "指南" },
},
{
- path: "/zh-CN/extend",
- component: Extend,
+ path: "/zh-CN/resources",
+ component: Resource,
meta: { title: "生态" },
},
{
diff --git a/example/src/view/hooks.vue b/example/src/view/hooks.vue
deleted file mode 100644
index 0e0fde2b..00000000
--- a/example/src/view/hooks.vue
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/example/src/view/extend.vue b/example/src/view/resource.vue
similarity index 100%
rename from example/src/view/extend.vue
rename to example/src/view/resource.vue