0
Well, I created a Root Component called Index.Ve and in it I registered 3 Components
<template>
<v-app>
<Login />
<Agree />
<Validation />
</v-app>
</template>
<script>
export default {
components:{
Login: () => import('./components/Login'),
Agree: () => import('./components/Agree-Term')
Validation: () => import('./components/Validation')
}
}
</script>
What I’d like to do are transitions, but without the "animations," well, I have a transition within the Login component, I tried to perform the component transition and I couldn’t do.
The point is, let’s assume I have a visibility property on each component and the only one I don’t have is Login
, after solving Function Submit within Login, it would send a prop to say to the Component Agree
if "reveal" and so on. I do not know if it is possible someone can help in this doubt? I read some dynamic components, but I’m still a little confused.
It’s possible, but I would advise you to do it via
vue-router
– Guto
You can tell me how to do it then?
– TMoraes
from a glance at the documentation, it is very didactic https://router.vuejs.org/
– Guto
I’m reading and trying to replicate, but most of the examples show a
nav
, i would like that action to happen within each Component, have some example?– TMoraes
Thanks @Guto, I got it, I’ll see if I can provide an example of this in git pro personal
– TMoraes
Post here as an answer.
– Guto