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
Avatar
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

Avatar
DirtyCajunRice | AppDir
no
Answer
Avatar
Ray
no
Avatar
Ivory GullOP
well at least I asked
Avatar
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?
Avatar
joulev & fuma pray for Schneider
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