Next.js Discord

Discord Forum

Is is possible to modify the app route to use a convention of "{name}-page.tsx" instead of page.tsx

Answered
Ivory Gull posted this in #help-forum
Open in Discord
Ivory GullOP
I really just want this for DX ... it get kind of confusing having a bunch of page.tsx files all over.
Answered by DirtyCajunRice | AppDir
no
View full answer

5 Replies

no
Answer
no
Ivory GullOP
well at least I asked
Blue-throated Hummingbird
I will switch framework because of this... It is annoying. Why not make it optional with an extension {name}.page.tsx, {name}.layout.tsx, etc?
You can always fork nextjs, it’s open source and MIT licensed. The maintainers decided they don’t support this, so you must switch framework or use a forked/patched version of nextjs