Skip to content

Instantly share code, notes, and snippets.

@laxmariappan
Created May 23, 2022 19:57
Show Gist options
  • Save laxmariappan/ea1398686b833074b09fa5f3251c7a8a to your computer and use it in GitHub Desktop.
Save laxmariappan/ea1398686b833074b09fa5f3251c7a8a to your computer and use it in GitHub Desktop.
Document for Remix Tailwind app
function Document({ children }) {
return (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<Meta />
<Links />
</head>
<body className="bg-gray-100">
{children}
<ScrollRestoration />
<Scripts />
<LiveReload />
</body>
</html>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment