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

docs: add link to layers from pages/ docs #20976

Merged
merged 3 commits into from May 21, 2023
Merged

docs: add link to layers from pages/ docs #20976

merged 3 commits into from May 21, 2023

Conversation

graup
Copy link
Contributor

@graup graup commented May 21, 2023

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSdoc annotations)

πŸ“š Description

Not sure this is the best way, but I think it would be great if Layers would be mentioned on Pages as a way to create multiple pages directories. As someone who recently tried Next.js App Dir, I was looking for ways to achieve a similar code colocation file structure, and Layers seems to be a good way to do it. However, it took me about an hour to find out about this feature, after scouring through Github issues such as #13367 and nuxt/rfcs/issues/30 .

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@nuxt-studio
Copy link

nuxt-studio bot commented May 21, 2023

βœ… Live Preview ready!

Name Edit Preview Latest Commit
Nuxt Docs Edit on Studio β†—οΈŽ View Live Preview ab4cba3

@danielroe danielroe changed the title Add link to Layers to Pages docs docs: add link to layers from pages/ docs May 21, 2023
Copy link
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

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

Nice idea!

@danielroe danielroe merged commit 674607a into nuxt:main May 21, 2023
1 check passed
This was referenced May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants