-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (108 loc) · 2.36 KB
/
index.html
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>into react 18 demo</title>
<style type="text/css">
body,
ul,
li,
p,
a,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
table,
td,
div,
dl,
dt,
dd,
input,
img {
margin: 0;
padding: 0;
border: 0;
outline: none;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
html,
body {
width: 100%;
height: 100%;
}
ol,
ul {
list-style: none;
}
body {
line-height: 1;
font: 400 14px/1.5 "PingFang SC", "Microsoft YaHei", Arial, Helvetica,
sans-serif;
}
input,
textarea {
border: none 0;
outline: none;
-webkit-appearance: none;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
.clearfix:after {
display: block;
height: 0;
clear: both;
content: "";
}
</style>
<script>
;(function () {
document.addEventListener('DOMContentLoaded', (event) => {
console.log('DOM fully loaded and parsed'); // 译者注:"DOM 完全加载以及解析"
})
})()
</script>
</head>
<body>
<div id="root1"></div>
<div id="root2"></div>
<div id="root3"></div>
<% if (htmlWebpackPlugin.options.env === 'prod') { %>
<script src="https://zhaoyiming0803.github.io/static/js/pure-react-project-bundle.js"></script>
<% } %>
</body>
</html>
<!--
<script
defer
src="https://unpkg.com/[email protected]/umd/react.production.min.js"
></script>
<script
defer
src="https://unpkg.com/[email protected]/umd/react-dom.production.min.js"
></script>
<script
defer
src="https://cdn.bootcss.com/react-redux/7.1.1/react-redux.min.js"
></script>-->
<!-- <script src="https://cdn.bootcss.com/react-router/5.1.2/react-router.min.js"></script> -->
<!--<script
defer
src="https://cdn.bootcss.com/react-router-dom/5.1.2/react-router-dom.min.js"
></script>-->