aboutsummaryrefslogtreecommitdiff
path: root/demos/simple-react/pages/index.tsx
diff options
context:
space:
mode:
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)"} />;
+}