From 9f4f79e0f765efb631c2fb0b884fb8cb23e5791d Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Thu, 23 Jul 2020 03:16:19 -0700 Subject: [PATCH] fix typo (#1302) --- src/plugins/search/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/search/index.js b/src/plugins/search/index.js index 3bfd3b6b5..54d8a79c7 100644 --- a/src/plugins/search/index.js +++ b/src/plugins/search/index.js @@ -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(_ => {