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

Dont work with NextJS>13.5 and page router #743

Open
noveogroup-amorgunov opened this issue Oct 23, 2024 · 0 comments
Open

Dont work with NextJS>13.5 and page router #743

noveogroup-amorgunov opened this issue Oct 23, 2024 · 0 comments

Comments

@noveogroup-amorgunov
Copy link
Contributor

Hey! I have two problems of integration FSD and NextJS. Follow the next docs: https://feature-sliced.design/docs/guides/tech/with-nextjs

I see two strategies from the docs:

But anyway, if we didn't use it page router (and use app router), I think it's a bad way to move source code out of src folder by semantic. Also, nextjs in any major version can disallow app/page folder out of src and we will make it impossible to use nextjs and FSD together without renaming the layer.

Possible solution

Allow renaming layer in steiger + write a common doc about integration with framework and how to solve layer's naming conflict.

@noveogroup-amorgunov noveogroup-amorgunov changed the title Work with NextJS>13.5 and page router Dont work with NextJS>13.5 and page router Oct 23, 2024
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