File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 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
2020// import globally in main.js
2121
2222import VueLayoutPage from ' vue-layout-page'
23-
23+ import ' vue-layout-page/dist/style.css ' ;
2424app .use (VueLayoutPage )
2525
2626// in SFC component
@@ -43,6 +43,7 @@ app.use(VueLayoutPage)
4343
4444<script setup>
4545import VueLayoutPage from 'vue-layout-page'
46+ import 'vue-layout-page/dist/style.css';
4647</script>
4748```
4849
@@ -57,6 +58,7 @@ npm install vue-layout-page
5758``` ts
5859// import globally
5960import VueLayoutPage from ' vue-layout-page'
61+ import ' vue-layout-page/dist/style.css' ;
6062app .use (VueLayoutPage )
6163
6264```
@@ -72,7 +74,7 @@ app.use(VueLayoutPage)
7274
7375<script>
7476import VueLayoutPage from 'vue-layout-page'
75-
77+ import 'vue-layout-page/dist/style.css';
7678export default {
7779 components: { VueLayoutPage },
7880}
@@ -92,4 +94,4 @@ export default {
9294<br >
9395
9496## 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