Extra support for more descriptive page.(jsx,tsx) file names #77369
Unanswered
VercammenJens
asked this question in
App Router
Replies: 1 comment
-
Hm.. looks interesting 🤔 In the meanwhile, you can add this to VSCode/Cursor settings to get better UX "workbench.editor.customLabels.patterns": {
"**/app/**/page.tsx": "${dirname} - page.tsx",
"**/app/**/layout.tsx": "${dirname} - layout.tsx",
"**/app/**/error.tsx": "${dirname} - error.tsx"
}, |
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.
-
Hi
Not sure if there already has been, or is an active discussion about this. But my suggestions was to add support for filenames like
home.page.tsx
orpage.home.tsx
for NextJS App router page files. The exact structure is yet to be defined by the next.js team ofcourse.I know the folder name already defines the page it is, but something like this could be a small but effective developer experience improvement in my opinion.
WDYT?
Beta Was this translation helpful? Give feedback.
All reactions