Skip to content
New issue

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

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

Already on GitHub? # to your account

Dont work with NextJS>13.5 and page router #743

Open
noveogroup-amorgunov opened this issue Oct 23, 2024 · 1 comment
Open

Dont work with NextJS>13.5 and page router #743

noveogroup-amorgunov opened this issue Oct 23, 2024 · 1 comment

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
@MrOxMasTer
Copy link

#793

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants