vitepress 文档插槽名称在哪里看到的 #54

Closed
opened 2022-09-09 16:17:26 +08:00 by didoee · 7 comments
didoee commented 2022-09-09 16:17:26 +08:00 (Migrated from github.com)

vitepress 文档插槽名称在哪里看到的

vitepress 文档插槽名称在哪里看到的
Charles7c commented 2022-09-09 16:32:06 +08:00 (Migrated from github.com)

可以在官方文档 Theme Introduction/Extending the Default Theme/Layout Slots 看 slot 介绍。

至于布局和 slot 的位置,可以看官方仓库 theme-default/Layout.vue

可以在官方文档 [Theme Introduction/Extending the Default Theme/Layout Slots](https://vitepress.vuejs.org/guide/theme-introduction#extending-the-default-theme) 看 slot 介绍。 至于布局和 slot 的位置,可以看官方仓库 [theme-default/Layout.vue](https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/Layout.vue)。
didoee commented 2022-09-09 17:34:15 +08:00 (Migrated from github.com)

还没有Sidebar的插槽

还没有Sidebar的插槽
Charles7c commented 2022-09-09 17:51:36 +08:00 (Migrated from github.com)

还没有Sidebar的插槽

这块我暂时没有想到这个需求的使用场景,我还看到你在一些官方历史 issues 中评论了,建议你在官方 issues 中单独新提一个 feature issues,这样项目维护者评估后也好将它提升为新功能。

> 还没有Sidebar的插槽 这块我暂时没有想到这个需求的使用场景,我还看到你在一些官方历史 issues 中评论了,建议你在官方 issues 中单独新提一个 feature issues,这样项目维护者评估后也好将它提升为新功能。
didoee commented 2022-09-09 18:39:50 +08:00 (Migrated from github.com)

好的,感谢

好的,感谢
didoee commented 2022-09-09 18:41:45 +08:00 (Migrated from github.com)

我的目的是能够将文章标题也作为sidebar的子集去使用,我看你有pr大纲可以层级使用(不会描述了)

我的目的是能够将文章标题也作为sidebar的子集去使用,我看你有pr大纲可以层级使用(不会描述了)
Charles7c commented 2022-09-09 18:56:04 +08:00 (Migrated from github.com)

我的目的是能够将文章标题也作为sidebar的子集去使用,我看你有pr大纲可以层级使用(不会描述了)

大纲(outline)的深层级展示近期已经合并了 pr, 官方下个版本 1.0.0-alpha.14 就能用了。
你说的侧边栏(sidebar)应该是这种效果吧,好像看到过类似的 issues。
image

> 我的目的是能够将文章标题也作为sidebar的子集去使用,我看你有pr大纲可以层级使用(不会描述了) 大纲(outline)的深层级展示近期已经合并了 pr, 官方下个版本 1.0.0-alpha.14 就能用了。 你说的侧边栏(sidebar)应该是这种效果吧,好像看到过类似的 issues。 ![image](https://user-images.githubusercontent.com/25446948/189334607-ad8400c5-9b6a-436e-a9a2-fddddf50e213.png)
didoee commented 2022-09-09 19:02:12 +08:00 (Migrated from github.com)

是这种的,如果他提供一个作用域插槽的话,差不多就可以解决了

我的目的是能够将文章标题也作为sidebar的子集去使用,我看你有pr大纲可以层级使用(不会描述了)

大纲(outline)的深层级展示近期已经合并了 pr, 官方下个版本 1.0.0-alpha.14 就能用了。
你说的侧边栏(sidebar)应该是这种效果吧,好像看到过类似的 issues。


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

是这种的,如果他提供一个作用域插槽的话,差不多就可以解决了 我的目的是能够将文章标题也作为sidebar的子集去使用,我看你有pr大纲可以层级使用(不会描述了) 大纲(outline)的深层级展示近期已经合并了 pr, 官方下个版本 1.0.0-alpha.14 就能用了。 你说的侧边栏(sidebar)应该是这种效果吧,好像看到过类似的 issues。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: ***@***.***>
This repo is archived. You cannot comment on issues.
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Charles7c/vitepress-theme-blog-charles7c-s1#54
No description provided.