Integrating a Welcome Page with Nextra in an Existing Next.js App #2203
Unanswered
eyallampel1
asked this question in
Q&A
Replies: 1 comment
-
The answer would depend on which NextJS router you are using. If you are using the pages router, You can have the root page
{
"*": {
"type": "page"
},
"index": {
"display": "hidden",
"theme": {
"layout": "full",
"timestamp": false
}
}
} I've done something similar in the docs of an OSS project of mine. Feel free to reference it here. |
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
-
Hey everyone,
I've recently integrated the Nextra library into my existing Next.js project. I'm trying to set up an initial welcome page in the standard Next.js style. This page will feature a button, and I'd like the Nextra site content to be displayed only after this button is clicked.
Given that I've added Nextra to an already built Next.js app (not started from scratch), does anyone have suggestions or best practices on how to seamlessly incorporate a regular Next.js page before transitioning to the Nextra content? Any insights or advice would be greatly appreciated!
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions