-
I don't want to have that homepage (page.tsx) as my default root page. Instead I want my app to have /docs setup as the homepage by default, just like Nextra has. Any help would be appreciated thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
fuma-nama
Jun 3, 2024
Replies: 1 comment
-
You can change the routing structure. As we are using the normal Next.js Routing, you can simply move the folders/files, and modify the base URL option in In the repository, there's an I18n example that uses the same routing structure. You may take it as a reference. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
annalhq
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can change the routing structure. As we are using the normal Next.js Routing, you can simply move the folders/files, and modify the base URL option in
source.ts
to change the generated page URLs.In the repository, there's an I18n example that uses the same routing structure. You may take it as a reference.