Skip to content

Commit 949adef

Browse files
committed
Merge branch 'develop' of https://github.com/mpvue/mpvue-docs into develop
2 parents b7555b2 + a3a58e7 commit 949adef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/mpvue/simple.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ mpvueSimple.build({
4545
output: 'mp-pages',
4646
pageName: 'login'
4747
})
48+
49+
// maybe you want to do something after building
50+
mpvueSimple.build() // => Promise
51+
.then(() => console.log('mpvue build success'))
52+
.catch(err => throw new Error(err))
4853
```
4954

5055
#### API

0 commit comments

Comments
 (0)