Skip to content

Next.js 12 doesn't run _app/index.page.tsx #31868

@denkigai

Description

@denkigai

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 as index.page.tsx with custom page extension setting.

Metadata

Metadata

Assignees

Labels

bugIssue was opened via the bug report template.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions