Closed elarbor closed 3 months ago
我没有发现问题怎么出现的,有复现的代码仓库吗
sidebar
的类型定义是:
export type Sidebar = SidebarItem[] | SidebarMulti
export interface SidebarMulti {
[path: string]: SidebarItem[] | { items: SidebarItem[]; base: string }
}
我插件中生成的 SidebarMulti
格式的数据,是符合要求的
使用插件后