37 lines
749 B
TypeScript
37 lines
749 B
TypeScript
import type { LinksFunction, MetaFunction } from "remix"
|
|
import {
|
|
Links,
|
|
LiveReload,
|
|
Meta,
|
|
Outlet,
|
|
Scripts,
|
|
ScrollRestoration,
|
|
} from "remix"
|
|
|
|
export const meta: MetaFunction = () => {
|
|
return { title: "New Remix App" }
|
|
}
|
|
|
|
export const links: LinksFunction = () => [
|
|
{ rel: "stylesheet", href: "/tailwind.css" },
|
|
]
|
|
|
|
export default function App() {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<meta charSet="utf-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
<Meta />
|
|
<Links />
|
|
</head>
|
|
<body>
|
|
<Outlet />
|
|
<ScrollRestoration />
|
|
<Scripts />
|
|
{process.env.NODE_ENV === "development" && <LiveReload />}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|