-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (50 loc) · 1.46 KB
/
index.html
File metadata and controls
56 lines (50 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home</title>
<!-- React -->
<script
src="https://unpkg.com/react@18/umd/react.development.js"
crossorigin
></script>
<!-- !Note: when deploying, replace "development.js" with "production.min.js". -->
<script
src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"
crossorigin
></script>
<!-- Babel -->
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
<!-- Fontawesome -->
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
crossorigin="anonymous"
/>
<!-- Less -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.7.1/less.min.js"
/>
<!-- Custom LESS Styles -->
<link rel="stylesheet" href="css/style.less" />
</head>
<body>
<div id="main"></div>
</body>
<script type="text/babel">
class App extends React.Component {
render() {
return (
<div>
<h1>Hello, world!</h1>
</div>
);
}
}
ReactDOM.render(React.createElement(App), document.getElementById("main"));
</script>
</html>