Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added good to know in /app based pages and layout in nested layouts #51558

Merged
merged 6 commits into from
Jun 21, 2023

Conversation

danger-ahead
Copy link
Contributor

Added a good to know section mentioning that one should not add html or body tags in nested layouts under /app based routing.

It was not mentioned anywhere before and often one forgets this while migrating from the /pages based routing

Fixes #51556

- mentions that inner layouts should not contain html or body tags
@vercel-spaces
Copy link

vercel-spaces bot commented Jun 20, 2023

Notifying the following users due to files changed in this PR:

@timneutkens, @ijjk, @shuding, @huozhi, @feedthejim:

docs/02-app/01-building-your-application/01-routing/02-pages-and-layouts.mdx

This comment was posted based on the notify modifier.

@danger-ahead danger-ahead requested a review from leerob June 20, 2023 18:55
balazsorban44
balazsorban44 previously approved these changes Jun 21, 2023
Copy link
Member

@balazsorban44 balazsorban44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ijjk
Copy link
Member

ijjk commented Jun 21, 2023

Allow CI Workflow Run

  • approve CI run for commit: 483a8d8

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

2 similar comments
@ijjk
Copy link
Member

ijjk commented Jun 21, 2023

Allow CI Workflow Run

  • approve CI run for commit: 483a8d8

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk
Copy link
Member

ijjk commented Jun 21, 2023

Allow CI Workflow Run

  • approve CI run for commit: 483a8d8

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk ijjk merged commit 87bfab4 into vercel:canary Jun 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: Mention that nested inner/nested layouts should not contain html or body tags in app router
5 participants