feat: 注册登录界面框架搭建完成
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import type { RouteObject } from 'react-router-dom'
|
||||
|
||||
import NoFound from '@/views/404/404'
|
||||
import Login from '@/views/Login'
|
||||
import Login from '@/views/User/Login'
|
||||
import Register from '@/views/User/Register'
|
||||
const routes: RouteObject[] = [
|
||||
{
|
||||
path: '/',
|
||||
@@ -11,6 +12,10 @@ const routes: RouteObject[] = [
|
||||
path: '*',
|
||||
Component: NoFound,
|
||||
},
|
||||
{
|
||||
path: '/register',
|
||||
Component: Register,
|
||||
},
|
||||
]
|
||||
|
||||
export default routes
|
||||
|
Reference in New Issue
Block a user