利用“structure”自动生成的侧边栏没有点击展开/折叠功能? #3220
-
我用Hope主题搭建了个静态网站https://www.hydraumech.cf。 .vuepress\navbar\en.ts:
.vuepress\sidebar\en.ts:
侧边栏对应导航栏的产品子类,由“structure”命令自动生成。目前实现的效果如下: 比如对于Hydraulic Pumps产品子类,通过collapsible: true参数,在最上方产生了一个可以点击展开/折叠的向下箭头。可我希望在每个子标题(比如BKP0.5、BKP1、BAP1等)右边出现这样一个向下的箭头,可以实现点击展开/折叠子菜单的效果。 不知哪位大神能指点小弟一下?万分感谢!!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
https://innenu.com/guide/ Try to read this one as a guide about structure sidebar. The structured sidebar should be collapsible BY DEFAULT unless you change something. |
Beta Was this translation helpful? Give feedback.
https://innenu.com/guide/ Try to read this one as a guide about structure sidebar.
Source: https://github.com/Hope-Studio/innenu-res/blob/99b182ad4b10bc98283be310aa3c23dde25e525e/site/.vuepress/config.ts#L74
The structured sidebar should be collapsible BY DEFAULT unless you change something.