aboutsummaryrefslogtreecommitdiffstats
path: root/spring-front/public/index.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spring-front/public/index.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/spring-front/public/index.js b/spring-front/public/index.js
new file mode 100644
index 0000000..e6b507f
--- /dev/null
+++ b/spring-front/public/index.js
@@ -0,0 +1,16 @@
+import React from "react";
+import ReactDOM from "react-dom";
+
+const page = (
+ <div>
+ <h1>my awesome website in react</h1>
+ <h3>REasons</h3>
+ <ol>
+ <li>one</li>
+ <li>two</li>
+ <li>three</li>
+ <li>four</li>
+ </ol>
+ </div>
+);
+ReactDOM.render(page, document.getElementById("root"));