Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit b13fede

Browse files
committed
1.0.0-alpha.12
1 parent 5fc10c9 commit b13fede

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

examples/react-app/routes.gen.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*! Generated by Aleph.js, do **NOT** change and ensure the file is **NOT** in the `.gitignore`. */
2+
3+
import { revive } from "aleph/server";
4+
import { default as $0 } from "./routes/index.tsx";
5+
import { default as $1, data as $$1 } from "./routes/todos.tsx";
6+
7+
revive("./routes/index.tsx", { default: $0 });
8+
revive("./routes/todos.tsx", { default: $1, data: $$1 });

examples/react-app/server.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
import "./routes.gen.ts"
12
import { Router } from "aleph/react";
23
import { serve } from "aleph/server";
34
import { renderToReadableStream } from "react-dom/server";
45

56
serve({
67
config: {
7-
routes: "./routes/**/*.{tsx,ts}",
8+
routes: { glob: "./routes/**/*.{tsx,ts}", generate: true },
89
},
910
ssr: {
1011
suspense: true,

version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** `VERSION` managed by https://deno.land/x/publish */
2-
export const VERSION = "1.0.0-alpha.11";
2+
export const VERSION = "1.0.0-alpha.12";
33

44
/** The flag indicates that the version is canary version. */
55
export const isCanary = false;

0 commit comments

Comments
 (0)