This commit is contained in:
2025-06-06 21:16:01 +08:00
parent af67f27a49
commit f3f30cd5ab
187 changed files with 398 additions and 173781 deletions
+10 -3
View File
@@ -1,6 +1,7 @@
import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import RegisteredVue from '../views/registered/Registered.vue'
Vue.use(VueRouter)
@@ -13,15 +14,21 @@ const routes = [
{
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(/* webpackChunkName: "about" */ '../views/AboutView.vue')
},
{
path: '/login',
name: 'Login',
component: () => import('../views/login/Login.vue')
},
{
path: '/registered',
name: 'Registered',
component:RegisteredVue
}
,{
path:'',
redirect:'/home'
}
]