From 252afc5b565dd8f8f4d86385f8885660b2f736cc Mon Sep 17 00:00:00 2001 From: ycy <2861518472@qq.com> Date: Mon, 22 Apr 2024 11:11:18 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20init:=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=A4=9A=E4=BD=99=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 89 +++------------------- src/components/HelloWorld.vue | 41 ---------- src/components/TheWelcome.vue | 88 --------------------- src/components/WelcomeItem.vue | 87 --------------------- src/components/icons/IconCommunity.vue | 7 -- src/components/icons/IconDocumentation.vue | 7 -- src/components/icons/IconEcosystem.vue | 7 -- src/components/icons/IconSupport.vue | 7 -- src/components/icons/IconTooling.vue | 19 ----- src/components/scarchBox.vue | 42 ++++++++++ src/router/index.ts | 4 +- src/views/HomeView.vue | 9 --- src/views/home/index.vue | 13 ++++ 13 files changed, 66 insertions(+), 354 deletions(-) delete mode 100644 src/components/HelloWorld.vue delete mode 100644 src/components/TheWelcome.vue delete mode 100644 src/components/WelcomeItem.vue delete mode 100644 src/components/icons/IconCommunity.vue delete mode 100644 src/components/icons/IconDocumentation.vue delete mode 100644 src/components/icons/IconEcosystem.vue delete mode 100644 src/components/icons/IconSupport.vue delete mode 100644 src/components/icons/IconTooling.vue create mode 100644 src/components/scarchBox.vue delete mode 100644 src/views/HomeView.vue create mode 100644 src/views/home/index.vue diff --git a/src/App.vue b/src/App.vue index 7905b05..d1e6835 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,85 +1,14 @@ + - - - diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 38d821e..0000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - diff --git a/src/components/TheWelcome.vue b/src/components/TheWelcome.vue deleted file mode 100644 index 49d8f73..0000000 --- a/src/components/TheWelcome.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - diff --git a/src/components/WelcomeItem.vue b/src/components/WelcomeItem.vue deleted file mode 100644 index 6d7086a..0000000 --- a/src/components/WelcomeItem.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - diff --git a/src/components/icons/IconCommunity.vue b/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b05..0000000 --- a/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/src/components/icons/IconDocumentation.vue b/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791c..0000000 --- a/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/src/components/icons/IconEcosystem.vue b/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f07..0000000 --- a/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/src/components/icons/IconSupport.vue b/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834..0000000 --- a/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/src/components/icons/IconTooling.vue b/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d..0000000 --- a/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/src/components/scarchBox.vue b/src/components/scarchBox.vue new file mode 100644 index 0000000..66f7c71 --- /dev/null +++ b/src/components/scarchBox.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index a49ae50..fc557a7 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,5 +1,5 @@ import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' +import HomeView from '@/views/home/index.vue' const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), @@ -16,7 +16,7 @@ const router = createRouter({ // this generates a separate chunk (About.[hash].js) for this route // which is lazy-loaded when the route is visited. component: () => import('../views/AboutView.vue') - } + }, ] }) diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue deleted file mode 100644 index d5c0217..0000000 --- a/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/src/views/home/index.vue b/src/views/home/index.vue new file mode 100644 index 0000000..5a42fb3 --- /dev/null +++ b/src/views/home/index.vue @@ -0,0 +1,13 @@ + + + + + + +