Code Monkey home page Code Monkey logo

Comments (6)

NozomuIkuta avatar NozomuIkuta commented on June 19, 2024 2

Neither of those layouts has a , and is not being rendered in either case.

Ah, I overlooked that point!

Here is the fixed version of the reproduction, and yes the warning is not shown with <slot />.
And now calling setPageLayout() doesn't affect this behavior.

https://stackblitz.com/edit/github-wgg4gm-qyvjee

I believe this issue can be closed for now 👍

@robert-gruner

You might want to add <slot /> to the layout components in which <NuxtPage /> is rendered.

from nuxt.

robert-gruner avatar robert-gruner commented on June 19, 2024 2

Thanks for the clarification. I can confirm that the warning disappears if we have proper Slots inside the layouts. Sorry for missing that. 🙈

EDIT: Issue can be closed - I think I cannot close it, right? Anyways thanks and keep up the good work!

from nuxt.

NozomuIkuta avatar NozomuIkuta commented on June 19, 2024 2

@danielroe

For the repository governance, I will leave the closing operation to you 🙋‍♂️

from nuxt.

danielroe avatar danielroe commented on June 19, 2024 2

Thank you all for the investigation and faithful reproductions ❤️

from nuxt.

danielroe avatar danielroe commented on June 19, 2024 1

Checking, this looks correct to me. Neither of those layouts has a <slot />, and <NuxtPage /> is not being rendered in either case.

from nuxt.

stackblitz avatar stackblitz commented on June 19, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

from nuxt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.