2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-08 17:22:32 +03:00

fix import error with vue plugin system

This commit is contained in:
STAFYNIAK Sacha
2018-09-17 06:19:37 +02:00
parent a33910098a
commit 4010325fb3
+1 -1
View File
@@ -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});