This repository has been archived by the owner on Nov 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
64 lines (61 loc) · 1.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');
body {
font-family: 'Fira Code', monospace;
background: #d8d1d9;
}
.v-pane-custom .v-pane .content {
background: #fff;
}
.v-pane-custom .content .innerContent {
padding: 20px;
line-height: 1.5;
}
.paneNested > .content > .innerContent {
padding: 0;
}
</style>
</head>
<body>
<div id="app">
<multi-split-pane
split="horizontal"
height="400px"
width="1000px"
resizerWidth="30px"
classes="v-pane-custom"
>
<Pane>
<template v-slot:content>
Content 1
</template>
</Pane>
<Pane>
<template v-slot:content>
Content 2
</template>
</Pane>
<Pane>
<template v-slot:content>
Content 3
</template>
</Pane>
</multi-split-pane>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.12/dist/vue.js"></script>
<script src="./dist/vue-multi-split-pane.min.js"></script>
<script>
Vue.component('MultiSplitPane', VueMultiSplitPane.MultiSplitPane)
Vue.component('Pane', VueMultiSplitPane.Pane)
new Vue({
el: '#app'
})
</script>
</body>
</html>