Persistent layout is mounted after child components. Is there a way to change this behavior? #888
Unanswered
mgsmus
asked this question in
Help (Vue)
Replies: 1 comment
-
Found a reasonable way:
but still looking a way to mount persistent layout first. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
Persistent layout is mounted after child components. Because of this, I cannot load something inside persistent layout to use inside child components. Is there a way to change this behavior? I'm using vuex to solve this issue right now but I'm not happy with it:
I need that googleMap inside the child component but cannot access it because it does load after the child component mounted. I have to initialize inside the persistent layout because it's the only way to keep alive a component in Inertia right now.
Any feedback would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions