From 4010325fb33cf84a0d9bf5f2d18e509c5eac7556 Mon Sep 17 00:00:00 2001 From: STAFYNIAK Sacha Date: Mon, 17 Sep 2018 06:19:37 +0200 Subject: [PATCH] fix import error with vue plugin system --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8d776b2..863140e 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ import JsonView from './json-viewer'; const install = (Vue) => { - Vue.components('JsonViewer', JsonView); + Vue.component('JsonViewer', JsonView); } export default Object.assign(JsonView, {install});