https://github.com/CoolGoose/nuxtlayoutdebug
I've added a repo that contains the code.
I've used vuex-flash as an example, but it happened with a custom component as well.
Rendering the message in the layout as well
It only renders in the page
Result after cloning and running:

Looks right. Could you provide info what you exactly expected? :thinking:
@manniL
Sorry, i dropped the ball and forgot the crucial thing.
Here's how it shows for me (note my awesome graphic skills)

After going to /second I see this. Looks still right :thinking:
Could you try out the latest nuxt-edge with the reproduction repo? I think it'll work out :)
@manniL notice it says some message 123 321 only on the inner component, not the big layout
@CoolGoose Ah! Now it got it :see_no_evil:
Can reproduce this in nuxt-edge, even if not directly accessing /second by typing the URL in.
Looks like the layout doesn't reflect changes of the Vuex store as long as the state isn't displayed. :thinking:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Bumping for activity (and will try to re reproduce on 2.0)
@CoolGoose I'd suggest https://template.nuxtjs.org/ for that 鈽猴笍
@manniL https://codesandbox.io/s/0qw4vx239n?initialpath=%2Fabout&module=%2Fpages%2Fabout.vue
go to /about and then you'll notice the error still exists :D (renders fine in the page, not the layout)
@CoolGoose Could you try to reproduce it without that library?
@manniL it seems that committing and displaying manually works. will try a bit later today to see if somehow vuex in single store mode with namespaced calls makes it weird.
@manniL finally, I could reproduce it cleanly.
Please go to https://codesandbox.io/s/0qw4vx239n and click about.
@CoolGoose it seems like wrapping it in a computed property will work fine :thinking: (https://codesandbox.io/s/ykxr52rr8x)
@manniL
From my testing simple keys with integers work fine even without computed. The problem is for objects.
Please see https://codesandbox.io/s/r019y31qrm and notice the { "info": [ "error" ] } message (also made it a computed in that component, but still no luck)
@CoolGoose Please check my CSB :relaxed: It works fine with objects as well
@CoolGoose Any update? Does it work for you as well now?
@manniL I apologize for the delay, was a crazy last week and this weekend we went to an e-commerce connference. Will test these days and get back
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.