guide/component-overrides/ #232
Unanswered
Replies: 2 comments 4 replies
-
您好,我请教个问题,我想用自己的组件覆盖主题内的头部组件,我在.vuepress/config.ts文件中配置了 |
Beta Was this translation helpful? Give feedback.
2 replies
-
大佬,如何把内置的404替换成自定义的?? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
guide/component-overrides/
概述 布局插槽十分实用,但有时候你可能会觉得它不够灵活。主题同样提供了单个组件覆写的能力。 注意 在使用此功能前,你应该首先熟悉本主题的源代码,了解 主题内置的各个组件,以便 安全的 覆写他们。 主题的组件源代码托管在 GitHub,遵循 MIT 协议。 使用 主题将所有 非全局的组件 都注册了一个带 @theme 前缀的 alias 。 例如,VPF...
https://theme-plume.vuejs.press/guide/component-overrides/
Beta Was this translation helpful? Give feedback.
All reactions