fix: PluginRoute supports AsyncRoute and AsyncLayout (#2139)

This commit is contained in:
Reed von Redwitz
2023-12-04 16:56:00 +01:00
committed by GitHub
parent 993f1020b6
commit c8844ad98c
6 changed files with 93 additions and 16 deletions
@@ -0,0 +1,9 @@
import { defineRoute } from "$fresh/src/server/defines.ts";
export default defineRoute((_req, _ctx) => {
return (
<div>
this is an async route!
</div>
);
});