Omnislash
Components changing as page transition starts instead of after leave
Hello
Fully random thought : You can't play with the Transition hook to update/print your new contant after the transition ?
https://nuxt.com/docs/getting-started/transitions (JavaScript Hooks)
Never faced this use case sorry, my next best idea would be to have a look at the lifecycle with the same general idea : a way to deal with my data at the end at the transition
Now that I'm thinking about what I'm writing, might be breaking the SSR if you need it ^^" ?
I don't use it for my project so..... no other idea sorry
2 replies
pass data from child component to parent
Hello 🙂
I'm not fully sure to understand what you want to do, but you basically have two options :
1/ Emit event : https://vuejs.org/guide/components/events.html#emitting-and-listening-to-events
2/ v-model, which are "two-way props" : https://vuejs.org/guide/components/v-model.html
6 replies