vite-bugs/skeleton/app/routes/a.tsx

19 lines
461 B
TypeScript
Raw Normal View History

2024-03-16 22:48:55 +00:00
import HelloWorld from "@duogeeks/hello-world";
import { Link } from "@remix-run/react";
import config from "~/config";
export default function A(props) {
return (
<div>
<h1>A</h1>
{config.description}
<p>
This is the A route. It is a function component that returns a div with
an h1 and a paragraph.
</p>
<Link to="/b">Go to B</Link> / <Link to="/">Go to index</Link>
<HelloWorld />
</div>
);
}