We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://codesandbox.io/p/github/Kolobok12309/nuxt-page-layout-mount-twice/draft/stoic-beaver - playground https://github.com/Kolobok12309/nuxt-page-layout-mount-twice - repo
// nuxt.config.js export default { features: { transitions: false, }, build: { splitChunks: { layouts: true, }, }, }
console.log('mounted', this.$nuxt.layoutName)
mounted
// from page-1 to page-2 mounted layout-2 // page-2 to page-1 mounted layout-1
// from page-1 to page-2 mounted layout-1 mounted layout-2 // page-2 to page-1 mounted layout-2 mounted layout-1
If i set features.transitions: true, all to be fine, but we can't use it(some problems with meta)
features.transitions: true
The text was updated successfully, but these errors were encountered:
Similar issue #5703
Sorry, something went wrong.
Add fix for page mounted twice
6fe91b1
fix nuxt#10873
Successfully merging a pull request may close this issue.
Versions
Reproduction
https://codesandbox.io/p/github/Kolobok12309/nuxt-page-layout-mount-twice/draft/stoic-beaver - playground
https://github.com/Kolobok12309/nuxt-page-layout-mount-twice - repo
Steps to reproduce
console.log('mounted', this.$nuxt.layoutName)
tomounted
hook of each pageWhat is Expected?
What is actually happening?
Additional info
If i set
features.transitions: true
, all to be fine, but we can't use it(some problems with meta)The text was updated successfully, but these errors were encountered: