File tree Expand file tree Collapse file tree 1 file changed +27
-14
lines changed Expand file tree Collapse file tree 1 file changed +27
-14
lines changed Original file line number Diff line number Diff line change 1- < meta charset ="utf-8 ">
2- < title > vueScrollbar demo</ title >
3- < script src ="https://unpkg.com/vue "> </ script >
4- < script src ="./vueScrollbar.umd.js "> </ script >
1+ <!DOCTYPE html>
2+ < html lang ="en ">
53
4+ < head >
5+ < meta charset ="UTF-8 ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7+ < title > demo</ title >
8+ </ head >
69
7- < div id =" app " >
8- < demo > </ demo >
9- </ div >
10+ < body >
11+ < script src =" https://unpkg.com/vue " > </ script >
12+ < script src =" https://unpkg.com/vue-custom-scrollbar@1.3.0/dist/vueScrollbar.umd.min.js " > </ script >
1013
11- < script >
12- new Vue ( {
13- components : {
14- demo : vueScrollbar
15- }
16- } ) . $mount ( '#app' )
17- </ script >
14+
15+ < div id ="app ">
16+ < demo style ="height:500px;width:500px ">
17+ < div style ="height:1000px;width:1000px;background:green "> </ div >
18+ </ demo >
19+ </ div >
20+
21+ < script >
22+ new Vue ( {
23+ components : {
24+ demo : vueScrollbar
25+ }
26+ } ) . $mount ( '#app' )
27+ </ script >
28+ </ body >
29+
30+ </ html >
You can’t perform that action at this time.
0 commit comments