File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ $ npm install vue-twentytwenty --save
17
17
Or download the latest release using:
18
18
19
19
* https://unpkg.com/vue-twentytwenty/dist/vue-twentytwenty.umd.min.js
20
+ * https://unpkg.com/vue-twentytwenty/dist/vue-twentytwenty.css
20
21
21
22
## Usage
22
23
@@ -25,6 +26,7 @@ Or download the latest release using:
25
26
### ES6
26
27
27
28
``` js
29
+ import ' vue-twentytwenty/dist/vue-twentytwenty.css' ;
28
30
import TwentyTwenty from ' vue-twentytwenty' ;
29
31
30
32
export default {
@@ -64,6 +66,9 @@ var YourComponent = Vue.extend({
64
66
``` html
65
67
<!doctype html>
66
68
<html >
69
+ <head >
70
+ <link rel =" stylesheet" href =" //unpkg.com/vue-twentytwenty/dist/vue-twentytwenty.css" />
71
+ </head >
67
72
<body >
68
73
<div id =" app" >
69
74
<twenty-twenty
@@ -103,6 +108,7 @@ var YourComponent = Vue.extend({
103
108
</template>
104
109
105
110
<script>
111
+ import 'vue-twentytwenty/dist/vue-twentytwenty.css';
106
112
import TwentyTwenty from 'vue-twentytwenty';
107
113
108
114
export default {
@@ -126,6 +132,7 @@ export default {
126
132
</template>
127
133
128
134
<script>
135
+ import 'vue-twentytwenty/dist/vue-twentytwenty.css';
129
136
import TwentyTwenty from 'vue-twentytwenty';
130
137
131
138
export default {
You can’t perform that action at this time.
0 commit comments