Skip to content

Commit fe52036

Browse files
authored
Merge pull request #144 from AwesomeDevin/feat-vue3
feat: update readme
2 parents 54a5513 + 25b8e7e commit fe52036

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CHINESE-README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ this.$waterfall.forceUpdate() //forceUpdate
7070
2. 使用了`waterfall`的父组件,如果样式存在问题,可去掉css `scoped`尝试一下
7171
##### main.js
7272
```javascript
73+
import { createApp } from "vue";
7374
import waterfall from 'vue-waterfall2'
74-
Vue.use(waterfall)
75+
76+
const app = createApp(App)
77+
app.use(waterfall)
7578
```
7679
##### app.vue
7780
```javascript

0 commit comments

Comments
 (0)