Home

Issue: 566

specific transitions for different route within page component

[issue link]

since theres no direct access to “this” in the transition object / js hooksof a page, is it even possible to create custom enter and leave transitions with javascript hooks instead of css, or different transition names?

i’m doing this with plain vue.js this way:

router-view.view(ref='page')

then:

enter (el, done) {
  this.$refs.page.enter
  ? this.$refs.page.enter(el, done)
  : TweenLite.from(el, 0.5, { alpha: 0, onComplete: done() })
}
This bug report is available on Nuxt.js community (#c490)