This commit is contained in:
Vladimir Dementyev 2020-07-23 03:16:19 -07:00 committed by GitHub
parent b869019900
commit 9f4f79e0f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(_ => {