update and introduce react router
This commit is contained in:
parent
bf32423169
commit
fa49ed07db
27 changed files with 349 additions and 187 deletions
13
packages/web/app/routes/home.tsx
Normal file
13
packages/web/app/routes/home.tsx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import type { Route } from "./+types/home";
|
||||
import { Welcome } from "../welcome/welcome";
|
||||
|
||||
export function meta(_args: Route.MetaArgs) {
|
||||
return [
|
||||
{ title: "New React Router App" },
|
||||
{ name: "description", content: "Welcome to React Router!" },
|
||||
];
|
||||
}
|
||||
|
||||
export default function Home() {
|
||||
return <Welcome />;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue