feat: add native TailwindCSS plugin (#2056)

This commit is contained in:
Marvin Hagemeister
2023-11-21 17:22:18 +01:00
committed by GitHub
parent daf15aee6f
commit 93e4b7e9b7
29 changed files with 454 additions and 1 deletions
+17
View File
@@ -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>
);
}
+3
View File
@@ -0,0 +1,3 @@
export default function Page() {
return <h1 class="text-red-600 block">foo</h1>;
}