-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathes6.html
41 lines (40 loc) · 933 Bytes
/
es6.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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="author" content="[email protected]" />
<meta name="keyword" content="page,pagination" />
<title>Pagination</title>
<link rel="stylesheet" href="dist/pagination.css">
<style>
* {
margin: 0;
padding: 0;
}
.data-list {
list-style: none;
}
.list-item {
padding: 10px;
}
</style>
</head>
<body>
<div style="width: 700px;margin: 100px auto;">
<ul class="data-list">
</ul>
<div id="pagination" class="pagination"></div>
</div>
<script src="/js/lib/babel.js"></script>
<script src="/js/lib/babel-polyfill.js"></script>
<script src="/js/lib/babel-require.js"></script>
<script>
// require根路径
require.config({
path: '/'
});
</script>
<!-- <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> -->
<script type="text/babel" src="js/indexEs6.js" charset="UTF-8"></script>
</body>
</html>