pageExtensions
By default, Next.js accepts files with the following extensions: .tsx
, .ts
, .jsx
, .js
. This can be modified to allow other extensions like markdown (.md
, .mdx
).
By default, Next.js accepts files with the following extensions: .tsx
, .ts
, .jsx
, .js
. This can be modified to allow other extensions like markdown (.md
, .mdx
).