import { Links, LiveReload, Meta, Outlet, Scripts, ScrollRestoration } from "remix";
import type { MetaFunction } from "remix";
export const meta = () => {
return { title: "Your Page Title" };
};
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 />
</body>
</html>
);
}
Main Component
0
0
Jose Romero
Main component in remix with the metatags being defined.
Library: remix
Shortcut: remix.component.main
0 Comments
Add Comment
Log in to add a comment