-
Notifications
You must be signed in to change notification settings - Fork 220
/
Copy pathumdExample.html
54 lines (51 loc) · 1.19 KB
/
umdExample.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
<!DOCTYPE html>
<html>
<head>
<title>DataV</title>
<script
src="https://unpkg.com/[email protected]/umd/react.development.js"
crossorigin
></script>
<script
src="https://unpkg.com/[email protected]/umd/react-dom.development.js"
crossorigin
></script>
<!--Debug version-->
<!--调试版-->
<script
src="https://unpkg.com/@jiaminghi/data-view-react/umd/datav.js"
crossorigin
></script>
<!--Compression Production version-->
<!--压缩版 生产版本 -->
<!-- <script
src="https://unpkg.com/@jiaminghi/data-view-react/umd/datav.min.js"
crossorigin
></script> -->
<style>
html,
body,
#app {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
}
.border-box-content {
color: rgb(66, 185, 131);
font-size: 40px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
}
</style>
</head>
<body>
<div id="app"></div>
<script>
const e = React.createElement;
ReactDOM.render(e(datav.Loading), document.querySelector("#app"));
</script>
</body>
</html>