Skip to content

是否可省略左侧插槽 #3502

Answered by erha19
chaoyue1217 asked this question in Q&A
Discussion options

You must be logged in to vote

@chaoyue1217 左侧面板你可以通过限定 Layout 的宽度来限制其展示,但是逻辑控制上需要做的自定义操作就比较多了,比较建议直接舍弃左侧面板,基于中间区域去创建自定义视图。

以 ide-startup 示例为例,上面这种方式可以参考修改这里的代码:

https://github.com/opensumi/ide-startup/blob/main/src/browser/render-app.ts#L30C26-L30C50

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by chaoyue1217
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants