File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ npm install vue-layout-page
20
20
// import globally in main.js
21
21
22
22
import VueLayoutPage from ' vue-layout-page'
23
-
23
+ import ' vue-layout-page/dist/style.css ' ;
24
24
app .use (VueLayoutPage )
25
25
26
26
// in SFC component
@@ -43,6 +43,7 @@ app.use(VueLayoutPage)
43
43
44
44
<script setup>
45
45
import VueLayoutPage from 'vue-layout-page'
46
+ import 'vue-layout-page/dist/style.css';
46
47
</script>
47
48
```
48
49
@@ -57,6 +58,7 @@ npm install vue-layout-page
57
58
``` ts
58
59
// import globally
59
60
import VueLayoutPage from ' vue-layout-page'
61
+ import ' vue-layout-page/dist/style.css' ;
60
62
app .use (VueLayoutPage )
61
63
62
64
```
@@ -72,7 +74,7 @@ app.use(VueLayoutPage)
72
74
73
75
<script>
74
76
import VueLayoutPage from 'vue-layout-page'
75
-
77
+ import 'vue-layout-page/dist/style.css';
76
78
export default {
77
79
components: { VueLayoutPage },
78
80
}
@@ -92,4 +94,4 @@ export default {
92
94
<br >
93
95
94
96
## Preview
95
- <img src =" ./example/preview.jpg " />
97
+ <img src =" ./example/preview.jpg " />
You can’t perform that action at this time.
0 commit comments