-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
50 lines (49 loc) · 1.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>vue-awesome-drag</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
</head>
<body>
<div id="app" data-app>加载中</div>
<script src="//unpkg.com/vue/dist/vue.js"></script>
<script src="./lib/drag.js"></script>
<script>
(function (drag) {
var DragContainer = drag.DragContainer
var Drag = drag.Drag
Vue.use(Drag)
Vue.use(DragContainer)
})(drag)
</script>
<script src="//unpkg.com/babel-standalone@6/babel.min.js"></script>
<script src="//unpkg.com/docsify-demo-box-vue/dist/docsify-demo-box-vue.min.js"></script>
<script>
var jsResources = '<scr' + 'ipt src="//unpkg.com/vue/dist/vue.js"></scr' + 'ipt>'
var cssResources = '@import url("//cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css");'
var bootCode = ''
window.$docsify = {
el: '#app',
name: 'vue-awesome-drag',
repo: 'https://github.com/zfowed/vue-awesome-drag',
// loadNavbar: '_navbar.md',
loadSidebar: 'sidebar.md',
auto2top: true,
homepage: 'README.md',
basePath: 'docs',
smartypants: true,
coverpage: {
'/': 'coverpage.md'
},
plugins: [
DemoBoxVue.create(jsResources, cssResources, bootCode)
]
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
</body>
</html>