Skip to content

Commit b3f7d09

Browse files
committed
Repo setup
0 parents  commit b3f7d09

7 files changed

+11263
-0
lines changed

.babelrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"presets": [
3+
"env",
4+
"react"
5+
],
6+
"plugins": [
7+
"transform-class-properties"
8+
]
9+
}

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
.cache/
3+
dist/

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# LG-Game

index.html

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>My App</title>
6+
</head>
7+
<body>
8+
<div id="root"></div>
9+
<script src="index.js"></script>
10+
</body>
11+
</html>
12+

index.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import React from 'react';
2+
import ReactDom from 'react-dom';
3+
4+
ReactDom.render(
5+
<div><h1>Hello World</h1></div>,
6+
document.getElementById('root')
7+
);

0 commit comments

Comments
 (0)