aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/index.js
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2020-05-09 20:40:01 -0700
committerjackyzha0 <[email protected]>2020-05-09 20:40:01 -0700
commit30dc897fb915977a94eb3f4947a7111d863c243b (patch)
treed6d82a8aa1c9e1bf14ca0f25781eba45e671916d /frontend/src/index.js
parentMerge pull request #4 from jackyzha0/folder-refactor (diff)
downloadctrl-v-30dc897fb915977a94eb3f4947a7111d863c243b.tar.xz
ctrl-v-30dc897fb915977a94eb3f4947a7111d863c243b.zip
add react setup
Diffstat (limited to 'frontend/src/index.js')
-rw-r--r--frontend/src/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/src/index.js b/frontend/src/index.js
new file mode 100644
index 0000000..437fe03
--- /dev/null
+++ b/frontend/src/index.js
@@ -0,0 +1,11 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+import './css/index.css';
+import App from './components/App';
+
+ReactDOM.render(
+ <React.StrictMode>
+ <App />
+ </React.StrictMode>,
+ document.getElementById('root')
+); \ No newline at end of file