aboutsummaryrefslogtreecommitdiff
path: root/examples/react-file-system-router/pages/one.tsx
diff options
context:
space:
mode:
authorGravatar Sean Scally <scally@users.noreply.github.com> 2023-01-24 19:09:39 -0800
committerGravatar GitHub <noreply@github.com> 2023-01-24 19:09:39 -0800
commitac7aff1b47b0b271d2afb010f3ffd199b9b6685d (patch)
treec6bfdae5dcca1e87fc951d06325da838f59cee4d /examples/react-file-system-router/pages/one.tsx
parentd714df48f9f47208584e6d8b91271afbcd230f70 (diff)
downloadbun-ac7aff1b47b0b271d2afb010f3ffd199b9b6685d.tar.gz
bun-ac7aff1b47b0b271d2afb010f3ffd199b9b6685d.tar.zst
bun-ac7aff1b47b0b271d2afb010f3ffd199b9b6685d.zip
Add FileSystemRouter + React example (#1894)
Diffstat (limited to 'examples/react-file-system-router/pages/one.tsx')
-rw-r--r--examples/react-file-system-router/pages/one.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/react-file-system-router/pages/one.tsx b/examples/react-file-system-router/pages/one.tsx
new file mode 100644
index 000000000..68c9fb4b9
--- /dev/null
+++ b/examples/react-file-system-router/pages/one.tsx
@@ -0,0 +1,12 @@
+// reachable from http://localhost:3000/one
+
+export default () => (
+ <html>
+ <head>
+ <title>one</title>
+ </head>
+ <body>
+ <p>one</p>
+ </body>
+ </html>
+) \ No newline at end of file