You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the other page uses custom layout.
when we want to change route from a page with default layout (index) to a page with custom layout (other), other page life cycle will be like this:
Environment
Nuxt project info:
Linux
v14.20.0
3.0.0-rc.10
0.5.3
npm@6.14.17
vite
-
-
-
Reproduction
codesandbox
Describe the bug
nuxt 3: change layout => mount page twice
unexpected life cycle during layout change
here is the structure:
the
other
page usescustom
layout.when we want to change route from a page with default layout (
index
) to a page with custom layout (other
),other
page life cycle will be like this:but if a page use same layout as previous page, the life cycle will be normal:
mounted
the problem always happen when using different layout than previous page
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: