mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 11:19:45 +08:00
added: 测试页面
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
import { RouteObject } from "react-router-dom";
|
||||
import { Login, HomePage, Dashboard, ErrorPage, VodListPage } from "../pages";
|
||||
import {
|
||||
Login,
|
||||
HomePage,
|
||||
Dashboard,
|
||||
ErrorPage,
|
||||
VodListPage,
|
||||
TestPage,
|
||||
} from "../pages";
|
||||
|
||||
const routes: RouteObject[] = [
|
||||
{
|
||||
@@ -20,6 +27,10 @@ const routes: RouteObject[] = [
|
||||
path: "/login",
|
||||
element: <Login />,
|
||||
},
|
||||
{
|
||||
path: "/test",
|
||||
element: <TestPage />,
|
||||
},
|
||||
{
|
||||
path: "*",
|
||||
element: <ErrorPage />,
|
||||
|
||||
Reference in New Issue
Block a user