Root Toggle 布局没有在 sidebar显示 #1214
Unanswered
allentown521
asked this question in
Q&A
Replies: 1 comment
-
this is probably because there's no selected item detected, for example, you are visiting You can also use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我根据文档想在 sidebar中添加 root toggle,代码如下:
但是只渲染出最外层的div,root toggle没有渲染出来,控制台也没有错误日志:
如果div内容是普通的div,类似于:
sidebar={{
banner: (
Nuxt Nation 2024
Join over 21,000 fellow Nuxt & Vue Developers to learn everything Nuxt
has to offer in 2024!
),
}}
就可以渲染出来
Beta Was this translation helpful? Give feedback.
All reactions