forked from DataV-Team/DataV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
umdExample.html
41 lines (39 loc) · 877 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title>DataV</title>
<script src="https://unpkg.com/vue"></script>
<!--Debug version-->
<!--调试版-->
<script src="https://unpkg.com/@jiaminghi/data-view/dist/datav.map.vue.js"></script>
<!--Compression version-->
<!--压缩版-->
<!-- <script src="https://unpkg.com/@jiaminghi/data-view/dist/datav.min.vue.js"></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">
<dv-border-box-1>Welcome to DataV</dv-border-box-1>
</div>
<script>
var app = new Vue({
el: '#app'
})
</script>
</body>
</html>