Replies: 1 comment
-
|
Here is examples of how to use Next.js project with FSD. Just use empty folder!! https://feature-sliced.design/docs/guides/tech/with-nextjs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sinse next 15.6.0 (or maybe earlier) fake pages folrder doesn't work.
I had next next@^15.3, src/app, src/pages and empty /pages - it worked correctly.
But recently I decided to update nextjs to next@15.6.0-canary.57. And I got the error:
"""
Error: >
pagesandappdirectories should be under the same folderat ignore-listed frames
"""
And if I remove this /pages folder, I get
"""
App Router and Pages Router both match path: /diet
Next.js does not support having both App Router and Pages Router routes matching the same path. Please remove one of the conflicting routes.
"""
How can I use src/pages folder with new version of nextjs (always next makes breaking changes...)?
And I know that I can just rename pages to kinda views, but I don't want
Beta Was this translation helpful? Give feedback.
All reactions