Closed tunarob closed 5 years ago
How can I define a transition property with this lib (https://nuxtjs.org/api/pages-transition/)?
transition
Looks like defining it as a method doesn't work:
import { Component, Vue } from 'nuxt-property-decorator' @Component export default class extends Vue { transition (to, from) { // something here } }
Also can't see it's possible to define it within a component?
@tunarob see here for working example
I'm also having problems getting transitions to work.
Example seems to be using the transition tag explicitly, and not actually using page transitions.
How can I define a
transition
property with this lib (https://nuxtjs.org/api/pages-transition/)?Looks like defining it as a method doesn't work:
Also can't see it's possible to define it within a component?