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
是,因为原来这种 object 写法是在完全不懂 yaml 语法时候瞎整出来的,现在觉得实在太难看了
改成如下的写法:
Kratos-Rebirth/.demo/_config.kratos-rebirth.yml
Lines 4 to 20 in e14581a
每一项的含义解释:
- label: 这个菜单的标签文字 icon: 这个菜单前的图标(在 FontAwesome 4.7.0 图标库中选择,可以不设置) url: 这个菜单指向的链接(站内或是站外均可) submenu: 这个菜单是否为一个二级菜单,有了这个选项就会忽略上面的 url - label: 二级菜单项的标签文字 icon: 二级菜单前的图标(在 FontAwesome 4.7.0 图标库中选择,可以不设置) url: 二级菜单项指向的链接
topMenu
The text was updated successfully, but these errors were encountered:
可以再加个 icon: string
icon: string
Sorry, something went wrong.
有道理,强调一下 icon 的重要性 😯
feat: better top menu config #133
e14581a
(因为看到有人问哪里去找图标但找不到那条回复所以在这里附一下) FontAwesome 4.7.0 的图标可以去 https://fontawesome.com/v4/icons/ 这里找到(我知道它很老了)
Candinya
No branches or pull requests
是,因为原来这种 object 写法是在完全不懂 yaml 语法时候瞎整出来的,现在觉得实在太难看了
改成如下的写法:
Kratos-Rebirth/.demo/_config.kratos-rebirth.yml
Lines 4 to 20 in e14581a
每一项的含义解释:
topMenu
配置项存在则覆盖老一套的配置逻辑,不存在就还是使用老一套的;会在下一个 major 版本去掉旧的支持The text was updated successfully, but these errors were encountered: