-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples #2
Comments
Yes, it works with vue-router. We need to start the transition in router.beforeResolve(async () => {
const viewTransition = startViewTransition()
await viewTransition.captured
}) And add <img :src="pic" v-view-transition-name="'img'" /> Note that the parameter in You can check the code in the example link in readme if you haven't checked it. |
Thank you for the explanation. What I learned was that, when using vue-router and this library, care must be taken in regards to usage of vue For a quick proof of concept with this library, I found it easiest to just ensure |
That's interesting. When using with |
Do you have any examples of this in use with vue-router?
Is it possible to use this plugin to translate an element that exists in two different pages (e.g. an img)?
The text was updated successfully, but these errors were encountered: