nextra
nextra copied to clipboard
Add navbar to a dynamic route
I am facing this need. I want to create a dynamic route using the page router in Next.JS while building a website based on Nextra. The dynamic route can be rendered by its own, but I would like to have both the Navbar and the Footer.
How to to make this happen?
I am looking at #332 which seems to requested this and it has been included by @B2o5T for Nextra3 in #1421. Is there any possible workaround today I can follow?
We have the same issue. It seems that dynamic routes do not get added to the page map https://github.com/shuding/nextra/blob/main/packages/nextra/src/plugin.ts#L87-L89 🧐