Next.js Discord

Discord Forum

Using page.tsx in every Directory

Answered
Dusky Thrush posted this in #help-forum
Open in Discord
Dusky ThrushOP
Is there another way instead of using a "page.tsx" file in every Directory?
Currently I have the main src/app Folder and in it are, my "about" and "tos" Folder, which both have a page.tsx, is there another way instead of Naming them "page.tsx" everytime?
Answered by fuma nama
For now, it is impossible. You may change the suffix of files names but it's still named page anyway.
View full answer

3 Replies

For now, it is impossible. You may change the suffix of files names but it's still named page anyway.
Answer
Dusky ThrushOP
Will it change in the near Future?
European sprat
I've not seen any indication that this is a planned feature