https://codesandbox.io/s/mounted-twice-error-page-f2qvy
'LOGO MOUNTED IN LAYOUT' message only once in console, because layout is not changing
'LOGO MOUNTED IN LAYOUT' message is shown twice, when visiting error page
no such bug in 2.7.1 for example
Sorry for the delay @gerasimvol
When I go to https://f2qvy.sse.codesandbox.io/asdasdasd, I only see the log once in the console.
@Atinux I think it's because sandbox uses old nuxt version
I have locked nuxt to 2.11.0 - bug is present now
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:
Issues that are labeled as pending will not be automatically marked as stale.
bug is still present, even in v2.12.0
issue description is relevant and seems that not only error page cause layout rerender. other custom layouts too
similar to https://github.com/nuxt/nuxt.js/issues/5703
Workaround found: https://github.com/nuxt/nuxt.js/issues/5703#issuecomment-603969605
Fixed sandbox (until next release of Nuxt): https://codesandbox.io/s/mounted-twice-error-page-qt672
Nuxt V2.12.1 is released with the fix 馃