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
Create layouts for this 2 pages and error.vue page
Add vue.config.errorHandler for not throw every error in browser and redirect to error
Go to page with error, from some other pages
Update page with error
What is expected ?
Both pages after 5 and 6 steps are the same
What is actually happening?
After 5th step:
Normal page with default layout and working nuxt-link
After 6th step:
Page without layout(nuxt-default layout, not your default) and mb hydrate errors
Additional comments?
It happening because layout for error page is not loaded, even if i use context.error, from server i got 500 statusCode and page in which error
For reproduction on sandbox, Click Error page and update this page
The text was updated successfully, but these errors were encountered:
Thanks for your contribution to Nuxt.js!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you would like this issue to remain open:
Verify that you can still reproduce the issue in the latest version of nuxt-edge
Comment the steps to reproduce it
Issues that are labeled as pending will not be automatically marked as stale.
Version
v2.11.0
Reproduction link
https://codesandbox.io/s/nuxt-error-layout-not-change-wzmvf
Steps to reproduce
nuxt.config.js
build.splitChunks.layouts = true
error.vue
pageWhat is expected ?
Both pages after 5 and 6 steps are the same
What is actually happening?
After 5th step:
Normal page with default layout and working
nuxt-link
After 6th step:
Page without layout(nuxt-default layout, not your default) and mb hydrate errors
Additional comments?
It happening because layout for error page is not loaded, even if i use
context.error
, from server i got 500 statusCode and page in which errorFor reproduction on sandbox, Click
Error page
and update this pageThe text was updated successfully, but these errors were encountered: