aboutsummaryrefslogtreecommitdiff
path: root/demos/simple-react/pages/index.tsx
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-06-19 18:30:32 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-06-19 18:30:32 -0700
commit020ce327794089995f6b4511cfca1e949a7eab03 (patch)
tree86e7b6f5c98de857cfcbbbf292df777fd4c28a2a /demos/simple-react/pages/index.tsx
parent0b68ccd7426d6b6cf35864db6e6d349839d67be4 (diff)
downloadbun-020ce327794089995f6b4511cfca1e949a7eab03.tar.gz
bun-020ce327794089995f6b4511cfca1e949a7eab03.tar.zst
bun-020ce327794089995f6b4511cfca1e949a7eab03.zip
color looper i'll probably get rid of
Former-commit-id: 5015c6a96964c23154509bc26633c18ce36aa9ff
Diffstat (limited to 'demos/simple-react/pages/index.tsx')
-rw-r--r--demos/simple-react/pages/index.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/simple-react/pages/index.tsx b/demos/simple-react/pages/index.tsx
new file mode 100644
index 000000000..b3566cdf6
--- /dev/null
+++ b/demos/simple-react/pages/index.tsx
@@ -0,0 +1,9 @@
+import { Main } from "../src/main";
+
+export function getInitialProps() {
+ return {};
+}
+
+export default function IndexRoute() {
+ return <Main productName={"Next.js (Webpack 5)"} />;
+}