Next.js Discord

Discord Forum

Missing Root Layout tags

Unanswered
Borzoi posted this in #help-forum
Open in Discord
BorzoiOP
https://nextjs.org/docs/messages/missing-root-layout-tags

I don't want to render a complete page but only one component (say a navigation menu) including it's CSS and JS.

Another system can then request this route and render that component as part of it's page.

Is that possible? Can I just turn off this error message and render the component anyway?

0 Replies