New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next.js 12 doesn't run _app/index.page.tsx
#31868
Comments
I found that |
I had same issue |
Hey! I tried to bisect to see when the issue started occurring and it seems that it was introduced by v11.1.1-canary.12. By looking at the release notes, the most logical candidate would be this PR: #28279. |
I am just curious, what's gain here over simply having a If it's this: https://nextjs.org/docs/api-reference/next.config.js/custom-page-extensions I would also try I don't see having these as folders are documented. |
The documentation actually does not mention using those files in that format (It does mention |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
12.0.4
What version of Node.js are you using?
16.7.0
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
local
Describe the Bug
When I set
index.page.tsx
under_app
directory, Next.js 12 doesn't run it.Previous version of Next.js works with this properly. Is this directory structure not recommended?
Expected Behavior
_app/index.page.tsx
To Reproduce
Move
_app.tsx
into_app
directory and rename it asindex.page.tsx
with custom page extension setting.The text was updated successfully, but these errors were encountered: