Skip to content

Dont work with NextJS>13.5 and page router #743

Open
@noveogroup-amorgunov

Description

@noveogroup-amorgunov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions