fix: tailwind now respects basepath (#2138)

This commit is contained in:
Reed von Redwitz
2023-12-05 13:13:33 +01:00
committed by GitHub
parent 80d35223d3
commit 60b2198d13
31 changed files with 323 additions and 12 deletions
+10 -3
View File
@@ -1,3 +1,10 @@
export default function Home() {
return <h1>it works</h1>;
}
import { defineRoute } from "$fresh/server.ts";
export default defineRoute<{ data: string }>((req, ctx) => {
return (
<>
<h1 class="text-red-600 block">it works</h1>
{ctx.state.data}
</>
);
});