mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
fix typo (#1302)
This commit is contained in:
parent
b869019900
commit
9f4f79e0f7
@ -1,5 +1,5 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
import { init as initComponet, update as updateComponent } from './component';
|
||||
import { init as initComponent, update as updateComponent } from './component';
|
||||
import { init as initSearch } from './search';
|
||||
|
||||
const CONFIG = {
|
||||
@ -32,7 +32,7 @@ const install = function(hook, vm) {
|
||||
const isAuto = CONFIG.paths === 'auto';
|
||||
|
||||
hook.mounted(_ => {
|
||||
initComponet(CONFIG, vm);
|
||||
initComponent(CONFIG, vm);
|
||||
!isAuto && initSearch(CONFIG, vm);
|
||||
});
|
||||
hook.doneEach(_ => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user