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

Confusing reason to add empty pages folder for nextjs app router. #796

Open
zeronumbers opened this issue Feb 12, 2025 · 0 comments
Open

Comments

@zeronumbers
Copy link

https://feature-sliced.design/docs/guides/tech/with-nextjs#app-router

You should still also add the pages folder to the root, because the App router is compatible with the Pages router.

Being compatible doesn't mean that you should add an empty folder. Real reason is probably this: https://t.me/feature_sliced/1/107414 as noted in https://github.com/yunglocokid/FSD-Pure-Next.js-Template

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

No branches or pull requests

1 participant