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
3523df74db
commit
2bb5625eb4
@ -13,10 +13,7 @@ export function useSearchIndex(): ShallowRef<SearchIndexData> {
|
||||
}
|
||||
|
||||
if (__VUEPRESS_DEV__ && (import.meta.webpackHot || import.meta.hot)) {
|
||||
__VUE_HMR_RUNTIME__.updateSearchIndex = (data) => {
|
||||
searchIndexData.value = data
|
||||
}
|
||||
__VUE_HMR_RUNTIME__.updateSearchIndex = (data) => {
|
||||
__VUE_HMR_RUNTIME__.updateSearchIndex = (data: SearchIndexData) => {
|
||||
searchIndexData.value = data
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,8 +1,3 @@
|
||||
import { searchPlugin } from './searchPlugin.js'
|
||||
|
||||
export * from '../shared/index.js'
|
||||
export { prepareSearchIndex } from './prepareSearchIndex.js'
|
||||
|
||||
export {
|
||||
searchPlugin,
|
||||
}
|
||||
export { searchPlugin } from './searchPlugin.js'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user