feat: minify tailwind css in prod + other enhancements (#2059)

This commit is contained in:
Marvin Hagemeister
2023-11-21 18:57:24 +01:00
committed by GitHub
parent 809a50398d
commit 1f8f9b7ec7
10 changed files with 102 additions and 9 deletions
@@ -0,0 +1,17 @@
import { AppProps } from "$fresh/server.ts";
export default function App({ Component }: AppProps) {
return (
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Fresh app</title>
<link rel="stylesheet" href="/styles.css" />
</head>
<body>
<Component />
</body>
</html>
);
}
@@ -0,0 +1,3 @@
export default function Page() {
return <h1 class="text-red-600 block">foo</h1>;
}