Sidebar and navbar path configs need to take into account the routerMode
未关闭
- 主要语言
- JavaScript
- 星标
- 31.5k
- 派生
- 5.8k
- 平均合并
- 9 天 8 小时
- 30 天内合并 PR
- 2
描述
PR https://github.com/docsifyjs/docsify/pull/1970 adds more documentation on how routerMode currently affects sidebar and navbar loading.
Ideally, there should not be any difference, and the sidebar and navbars paths should be determined in the same way no matter the routerMode.
With hash router mode, it seems that the paths are determined from the base of the site, whereas with history router mode, the paths are determined based on the current page path.
贡献指南
评估
这个 Issue 还没有评估数据。