feat: 添加默认布局

This commit is contained in:
landaiqing
2024-04-20 02:16:25 +08:00
parent 5889fe1b2f
commit f2b1aa6578
16 changed files with 1506 additions and 5 deletions

View File

@@ -3,6 +3,7 @@ import type { RouteObject } from 'react-router-dom'
import NoFound from '@/views/404/404'
import Login from '@/views/User/Login'
import Register from '@/views/User/Register'
import home from '@/views/Home/'
const routes: RouteObject[] = [
{
path: '/',
@@ -16,6 +17,10 @@ const routes: RouteObject[] = [
path: '/register',
Component: Register,
},
{
path: '/home',
Component: home,
},
]
export default routes