Skip to content

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

@zeronumbers

Description

@zeronumbers

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

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