shuding / nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.

Home Page:https://nextra.site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Navigation Bar is Unstable

Yijia-Chen opened this issue · comments

When I click on some part of the Navigation Bar (determined by _meta.json), the other part of the bar changes to an older version. I suspect this is a cache problem of Nextra. Has anyone else had this issue?

See below for details. For example, the "Flow" page becomes "Progression", which is from an older version, when one clicks on "Fundamentals".

Screenshot 2024-04-21 at 14 35 22

Screenshot 2024-04-21 at 14 35 29

look at https://nextra.site/docs/docs-theme/theme-configuration#sidebar

I mean the side bar on the left. All the _meta.json files are configured correctly and the localhost version is flawless. However, when it's pushed to GitHub and deployed by Vercel, the linking becomes incorrect. It's a really weird issue, and don't think the link you sent is helpful on this.

If your repo is public drop the link of repo and deployment link of the website

If your repo is public drop the link of repo and deployment link of the website

Here you go:

Thanks!

Screenshot 2024-04-29 at 9 53 33

Does redeploying from within vercel without using existing build cache correct the behavior?

Screenshot 2024-04-29 at 9 53 33 Does redeploying from within vercel without using existing build cache correct the behavior?

Fixed! Thank you.