aboutsummaryrefslogtreecommitdiff
path: root/examples/react-file-system-router/pages/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/react-file-system-router/pages/index.tsx')
-rw-r--r--examples/react-file-system-router/pages/index.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/react-file-system-router/pages/index.tsx b/examples/react-file-system-router/pages/index.tsx
new file mode 100644
index 000000000..b2d9e735e
--- /dev/null
+++ b/examples/react-file-system-router/pages/index.tsx
@@ -0,0 +1,17 @@
+// reachable from http://localhost:3000/
+
+export default () => (
+ <html>
+ <head>
+ <title>index</title>
+ </head>
+ <body>
+ <h1>
+ <a href="/one" >one</a>
+ </h1>
+ <h1>
+ <a href="/two" >two</a>
+ </h1>
+ </body>
+ </html>
+) \ No newline at end of file