diff --git a/docs/notes/theme/guide/custom/slots.md b/docs/notes/theme/guide/custom/slots.md index 0ea30d98..9e1c108a 100644 --- a/docs/notes/theme/guide/custom/slots.md +++ b/docs/notes/theme/guide/custom/slots.md @@ -90,6 +90,10 @@ export default defineClientConfig({ ## 插槽 +::: info +您可以预览 以查看所有可用的插槽在站点中的位置。 +::: + ### `` 插槽 - 当 `pageLayout: doc` 时: diff --git a/examples/layout-slots/docs/.vuepress/config.ts b/examples/layout-slots/docs/.vuepress/config.ts index f6ea78bd..4bd3f514 100644 --- a/examples/layout-slots/docs/.vuepress/config.ts +++ b/examples/layout-slots/docs/.vuepress/config.ts @@ -18,7 +18,7 @@ export default defineUserConfig({ theme: plumeTheme({ /* 添加您的部署域名, 有助于 SEO, 生成 sitemap */ - // hostname: 'https://your_site_url', + hostname: 'https://plume-layout-slots.netlify.app/', /* 文档仓库配置,用于 editLink */ docsRepo: 'pengzhanbo/vuepress-theme-plume', diff --git a/examples/layout-slots/docs/.vuepress/theme/components/SlotDemo.vue b/examples/layout-slots/docs/.vuepress/theme/components/SlotDemo.vue index 04c49732..2060d92b 100644 --- a/examples/layout-slots/docs/.vuepress/theme/components/SlotDemo.vue +++ b/examples/layout-slots/docs/.vuepress/theme/components/SlotDemo.vue @@ -1,4 +1,8 @@