驼峰的文档命名是否有配置修改能不转化成-的约定式路由的形式,还是直接使用驼峰的路由 #1940
-
为了使得 URL 更加友好,dumi 会自动将文件路径中的驼峰命令(CamelCase)转换为中划线命名(kebab-case),例如 docs/HelloWorld.md 最终会生成 /hello-world。 目标,路由还是会生成/HelloWorld |
Beta Was this translation helpful? Give feedback.
Answered by
PeachScript
Oct 18, 2023
Replies: 2 comments 1 reply
Answer selected by
Liu-0114
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
参考:https://d.umijs.org/config#forcekebabcaserouting