完成用户列表

This commit is contained in:
jiayuqi7813
2022-06-27 20:27:32 +08:00
parent 360335476e
commit c8563b7e64
5 changed files with 76 additions and 2 deletions

View File

@@ -1,8 +1,11 @@
import { createRouter, createWebHistory } from 'vue-router'
import home from "../views/Home.vue";
import Login from '../views/Login.vue'
import Challenge from '../views/Challenges.vue'
import Scoreboard from '../views/Scoreboard.vue'
import Notification from "../views/Notification.vue";
import users from "../views/Users.vue";
const routerHistory = createWebHistory()
const router = createRouter({
@@ -15,7 +18,7 @@ const router = createRouter({
{
path: '/home',
name:'Home',
component: () => import('../views/Home.vue')
component:home,
},
{
path:'/login',
@@ -37,6 +40,11 @@ const router = createRouter({
path:'/notification',
name:'Notification',
component: Notification,
},
{
path:'/users',
name:'users',
component: users,
}
]
})