mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 11:09:49 +08:00
左侧栏初步
This commit is contained in:
16
src/router/routes.tsx
Normal file
16
src/router/routes.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from "react";
|
||||
import { RouteObject } from "react-router-dom";
|
||||
import { Login, HomePage } from "../pages";
|
||||
|
||||
const routes: RouteObject[] = [
|
||||
{
|
||||
path: "/",
|
||||
element: <HomePage />,
|
||||
},
|
||||
{
|
||||
path: "/login",
|
||||
element: <Login />,
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user