#<NuxtLayout /> has to be the first element in the template

8 messages · Page 1 of 1 (latest)

restive ruin
#

For some reason when using <NuxtLayout /> in some nested divs in the app.vue, it causes an -
Cannot read properties of null (reading 'parentNode') when routing to dynamic pages. but using it as the first element on the app.vue fixes it!

But I don't want to use the <NuxtLayout /> as the first element since I have a title bar (It's an app with Tauri) which is consistent between all layouts. What can I do?

#

Also the page I'm routing to also has a different layout. but reloading on that page also fixes the issue

restive ruin
#

I Fixed it by downgrading to 3.4.8... is this really not fixed withing 7 version???

faint spoke
#

@restive ruin actually it should be nested 🤔

restive ruin
faint spoke
#

If e.g. a bug fix came in that fixed issues but your code was relying on "wrong" behavior