This commit is contained in:
rex
2025-09-01 20:01:21 +08:00
parent 8dd468a5e3
commit 272c87f799
20 changed files with 150 additions and 40 deletions

View File

@@ -1,15 +1,15 @@
import { createBrowserRouter } from "react-router";
import { RouterProvider } from "react-router/dom";
import Home from "@/pages/home";
import About from "@/pages/about";
import { createBrowserRouter } from 'react-router';
import { RouterProvider } from 'react-router/dom';
import About from '@/pages/about';
import Home from '@/pages/home';
const router = createBrowserRouter([
{
path: "/",
path: '/',
element: <Home />,
},
{
path: "/about",
path: '/about',
element: <About />,
},
]);