Nuxt.js: multiple nuxt instances in layout

Created on 18 Jun 2020  路  5Comments  路  Source: nuxt/nuxt.js

Version

v2.12.2

Reproduction link

https://nuxtjs.org/

Steps to reproduce

Weird thing, I have double nuxt instance in my defalut layout, this is my default.vue file

2.png

I tried multiple combinations, I noticed that when I move <nuxt /> to the bottom of parent div, this problem disappear, and everything works fine.

4.png

What could be the reason?

What is expected ?

3.png

What is actually happening?

1.png

This bug report is available on Nuxt community (#c10792)
bug-report stale

Most helpful comment

Zrzut ekranu 2020-06-20 o 11 07 17

simple fix, and problem solved, but still this is a bug not solved in latest release
https://github.com/nuxt/nuxt.js/issues/5703

All 5 comments

I believe this could be related to https://github.com/nuxt/nuxt.js/issues/5615 which is fixed in the latest version

the same problem in v2.13.0

Zrzut ekranu 2020-06-20 o 11 07 17

simple fix, and problem solved, but still this is a bug not solved in latest release
https://github.com/nuxt/nuxt.js/issues/5703

Zrzut ekranu 2020-06-20 o 11 07 17

simple fix, and problem solved, but still this is a bug not solved in latest release

5703

Wrap inside a div doesn't work for me :/ I have also this bug in 2.13.3
Capture d鈥檈虂cran 2020-07-15 a虁 10 23 33
If the page is rendered server-side with a specific layout like "guest", then the page is changed with another layout like "authenticated", vue will not render multiple times the layout. But if I enter directly on the page (with the layout "authenticated", SSR), the bug is happening.

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:

  1. Verify that you can still reproduce the issue in the latest version of nuxt-edge
  2. Comment the steps to reproduce it

Issues that are labeled as pending will not be automatically marked as stale.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nassimbenkirane picture nassimbenkirane  路  3Comments

bimohxh picture bimohxh  路  3Comments

bimohxh picture bimohxh  路  3Comments

maicong picture maicong  路  3Comments

danieloprado picture danieloprado  路  3Comments