Closed whitetrefoil closed 6 years ago
I said ugly because my solution is not easier than the previous one:
@Lifecycle
async beforeRouteEnter(to: Route, from: Route, next: Function) {
next((vm: MyPage) => {
......
I've released v0.10.0 to include this!
Current version doesn't support
vue-router
lifecycles well (e.g. novm
inbeforeRouteEnter
). I tried to solve it by myself, but felt my implementation some how ugly...Still I filed it as a PR to help describing my point.