Basic example structure
This commit is contained in:
11
app/routes/$qrcode.tsx
Normal file
11
app/routes/$qrcode.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { Route } from "./+types/$qrcode";
|
||||
import { Outlet } from "react-router";
|
||||
|
||||
export default function Qrlayout({ params }: Route.LoaderArgs) {
|
||||
return (
|
||||
<div>
|
||||
<div>LAYOUT FOR: {params.qrcode}</div>
|
||||
<Outlet/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user