mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
* feat: react router support in node provider * test: SPA tests for react router * test: adding react router spa example * test: added scripts to generate RR from the latest templates * feat: react router ssr * test: basic build tests for react router SPA * test: react router snapshots * add shebang, rerun build
14 lines
315 B
TypeScript
14 lines
315 B
TypeScript
import type { Route } from "./+types/home";
|
|
import { Welcome } from "../welcome/welcome";
|
|
|
|
export function meta({}: Route.MetaArgs) {
|
|
return [
|
|
{ title: "New React Router App" },
|
|
{ name: "description", content: "Welcome to React Router!" },
|
|
];
|
|
}
|
|
|
|
export default function Home() {
|
|
return <Welcome />;
|
|
}
|