- You’ve successfully created a project with
- Vite +
- Vue 3.
-
-
-
-
-
diff --git a/Yi.BBS.Vue3/src/components/TheWelcome.vue b/Yi.BBS.Vue3/src/components/TheWelcome.vue
deleted file mode 100644
index 5e646253..00000000
--- a/Yi.BBS.Vue3/src/components/TheWelcome.vue
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
-
- Documentation
-
- Vue’s
- official documentation
- provides you with all information you need to get started.
-
-
-
-
-
-
- Tooling
-
- This project is served and bundled with
- Vite. The
- recommended IDE setup is
- VSCode +
- Volar. If
- you need to test your components and web pages, check out
- Cypress and
- Cypress Component Testing.
-
-
-
- More instructions are available in README.md.
-
-
-
-
-
-
- Ecosystem
-
- Get official tools and libraries for your project:
- Pinia,
- Vue Router,
- Vue Test Utils, and
- Vue Dev Tools. If
- you need more resources, we suggest paying
- Awesome Vue
- a visit.
-
-
-
-
-
-
- Community
-
- Got stuck? Ask your question on
- Vue Land, our official
- Discord server, or
- StackOverflow. You should also subscribe to
- our mailing list and follow
- the official
- @vuejs
- twitter account for latest news in the Vue world.
-
-
-
-
-
-
- Support Vue
-
- As an independent project, Vue relies on community backing for its sustainability. You can help
- us by
- becoming a sponsor.
-
-
diff --git a/Yi.BBS.Vue3/src/components/icons/IconCommunity.vue b/Yi.BBS.Vue3/src/components/icons/IconCommunity.vue
deleted file mode 100644
index 2dc8b055..00000000
--- a/Yi.BBS.Vue3/src/components/icons/IconCommunity.vue
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/Yi.BBS.Vue3/src/components/icons/IconDocumentation.vue b/Yi.BBS.Vue3/src/components/icons/IconDocumentation.vue
deleted file mode 100644
index 6d4791cf..00000000
--- a/Yi.BBS.Vue3/src/components/icons/IconDocumentation.vue
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/Yi.BBS.Vue3/src/components/icons/IconEcosystem.vue b/Yi.BBS.Vue3/src/components/icons/IconEcosystem.vue
deleted file mode 100644
index c3a4f078..00000000
--- a/Yi.BBS.Vue3/src/components/icons/IconEcosystem.vue
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/Yi.BBS.Vue3/src/components/icons/IconSupport.vue b/Yi.BBS.Vue3/src/components/icons/IconSupport.vue
deleted file mode 100644
index 7452834d..00000000
--- a/Yi.BBS.Vue3/src/components/icons/IconSupport.vue
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/Yi.BBS.Vue3/src/components/icons/IconTooling.vue b/Yi.BBS.Vue3/src/components/icons/IconTooling.vue
deleted file mode 100644
index 660598d7..00000000
--- a/Yi.BBS.Vue3/src/components/icons/IconTooling.vue
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
diff --git a/Yi.BBS.Vue3/src/layout/AppBody.vue b/Yi.BBS.Vue3/src/layout/AppBody.vue
new file mode 100644
index 00000000..999e63b9
--- /dev/null
+++ b/Yi.BBS.Vue3/src/layout/AppBody.vue
@@ -0,0 +1,21 @@
+
+import { h } from 'vue';
+
+
+
身体
+
+
+
+
+
\ No newline at end of file
diff --git a/Yi.BBS.Vue3/src/layout/AppHeader.vue b/Yi.BBS.Vue3/src/layout/AppHeader.vue
new file mode 100644
index 00000000..e832d3ce
--- /dev/null
+++ b/Yi.BBS.Vue3/src/layout/AppHeader.vue
@@ -0,0 +1,32 @@
+
+
+ Processing Center
+
+ Workspace
+ item one
+ item two
+ item three
+
+ item four
+ item one
+ item two
+ item three
+
+
+ Info
+ Orders
+
+
+
+
\ No newline at end of file
diff --git a/Yi.BBS.Vue3/src/layout/Index.vue b/Yi.BBS.Vue3/src/layout/Index.vue
new file mode 100644
index 00000000..5990c3b6
--- /dev/null
+++ b/Yi.BBS.Vue3/src/layout/Index.vue
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Yi.BBS.Vue3/src/router/index.js b/Yi.BBS.Vue3/src/router/index.js
index a49ae507..acd17c7a 100644
--- a/Yi.BBS.Vue3/src/router/index.js
+++ b/Yi.BBS.Vue3/src/router/index.js
@@ -1,22 +1,23 @@
import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-
+import Layout from '../layout/Index.vue'
+import NotFound from '../views/NotFound.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
- name: 'home',
- component: HomeView
+ name: 'layout',
+ component: Layout,
+ redirect: '/index' ,
+ children :[
+ {
+ name:'index',
+ path: '/index',
+ component: () => import('../views/Index.vue')
+ },
+ ]
},
- {
- path: '/about',
- name: 'about',
- // route level code-splitting
- // 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')
- }
+ { path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound },
]
})
diff --git a/Yi.BBS.Vue3/src/views/AboutView.vue b/Yi.BBS.Vue3/src/views/AboutView.vue
deleted file mode 100644
index 756ad2a1..00000000
--- a/Yi.BBS.Vue3/src/views/AboutView.vue
+++ /dev/null
@@ -1,15 +0,0 @@
-
-