Skip to content

Commit e3f03ed

Browse files
authored
docs: 更新文档
1 parent b0205c7 commit e3f03ed

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ npm install vue-layout-page
2020
// import globally in main.js
2121

2222
import VueLayoutPage from 'vue-layout-page'
23-
23+
import 'vue-layout-page/dist/style.css';
2424
app.use(VueLayoutPage)
2525

2626
// in SFC component
@@ -43,6 +43,7 @@ app.use(VueLayoutPage)
4343
4444
<script setup>
4545
import 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
5960
import VueLayoutPage from 'vue-layout-page'
61+
import 'vue-layout-page/dist/style.css';
6062
app.use(VueLayoutPage)
6163

6264
```
@@ -72,7 +74,7 @@ app.use(VueLayoutPage)
7274
7375
<script>
7476
import VueLayoutPage from 'vue-layout-page'
75-
77+
import 'vue-layout-page/dist/style.css';
7678
export 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" />

0 commit comments

Comments
 (0)