We're having a growing number of packages in this repository. This PR moves them into a `packages/` directory like it's commonly done in other projects.
12 lines
246 B
TypeScript
12 lines
246 B
TypeScript
import { App } from "fresh";
|
|
import { Doc } from "./shared.tsx";
|
|
|
|
export const app1: App<unknown> = new App()
|
|
.get("/", (ctx) =>
|
|
ctx.render(
|
|
<Doc>
|
|
<h1>App1</h1>
|
|
<p>This app is loaded from JSR</p>
|
|
</Doc>,
|
|
));
|