fix: tailwind now respects basepath (#2138)
This commit is contained in:
@@ -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}
|
||||
</>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user