mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
chore: tweak
This commit is contained in:
parent
12e607e01c
commit
252fdd0caf
@ -93,7 +93,7 @@ export const theme: Theme = themePlume({
|
||||
repoId: 'R_kgDOG_ebNA',
|
||||
category: 'docs-comment',
|
||||
categoryId: 'DIC_kwDOG_ebNM4Cd0uF',
|
||||
mapping: 'url',
|
||||
mapping: 'pathname',
|
||||
reactionsEnabled: true,
|
||||
inputPosition: 'top',
|
||||
darkTheme: 'dark_protanopia',
|
||||
|
||||
@ -17,10 +17,6 @@ export default defineClientConfig({
|
||||
// global component
|
||||
app.component('Badge', Badge)
|
||||
|
||||
if (app._context.components.ExternalLinkIcon)
|
||||
delete app._context.components.ExternalLinkIcon
|
||||
app.component('ExternalLinkIcon', ExternalLinkIcon)
|
||||
|
||||
app.component('DocSearch', () => {
|
||||
const SearchComponent
|
||||
= app.component('Docsearch') || app.component('SearchBox')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user