We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目录结构:
/test 是应该渲染React页面
实际效果会在页面内容还会创建dumi-default-content,且侧边栏中展示 1 2 utils 当test为Test时不会出现此现象。 自定义页面应当不需要展示dumi侧边栏
The text was updated successfully, but these errors were encountered:
当test为Test时不会出现此现象
我本地验证下来和大小写无关,都会展示侧边栏
自定义页面应当不需要展示dumi侧边栏
dumi 没有这个设定,自定义页面也是可以有侧边栏的,这样才能和普通 md 生成的内容结构融合在一起
如果不需要侧边栏,给自定义页面最顶部加上 FrontMatter 配置 sidebar: false 即可,配置项文档:https://d.umijs.org/theme/default#sidebar-1 ,代码示例:
/** * sidebar: false */ // 自定义页面的具体代码实现
但这里应该有个优化点,手动禁用 sidebar 的时候应该和首页一致不展示 Content 容器,下个版本会调整下
Sorry, something went wrong.
v2.2.2 已调整
Successfully merging a pull request may close this issue.
Versions
Steps to reproduce
目录结构:
What is Expected?
/test 是应该渲染React页面
What is actually happening?
实际效果会在页面内容还会创建dumi-default-content,且侧边栏中展示
1
2
utils
当test为Test时不会出现此现象。
自定义页面应当不需要展示dumi侧边栏
The text was updated successfully, but these errors were encountered: