From 527aed8c4ebab30d87b84d9c32d40b2f04a4b096 Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Thu, 23 Jul 2020 12:51:45 +0300 Subject: [PATCH] fix(search/index.js): typo --- 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(_ => {