jinkin1995 / vue-json-edit

Visual JSON editor built as an vue component. Provides a basic GUI
288 stars 88 forks source link

"e.component is not a function" #44

Closed sinisimattia closed 4 years ago

sinisimattia commented 4 years ago

Hi, I'm havig a bit of trouble registering your component.

If I register it globally it will then overwrite some of my CSS styles, but if I register it locally it gives me this error:

e.component is not a function

I'll provide my code down below.

// other imports here...
import JsonEditor from "vue-json-edit"

export default {
    components: {
                JsonEditor,
    },
};

Btw: the error is the same even when I register it with a name.

Thanks in advance for the help

sinisimattia commented 4 years ago

Resolved in: https://github.com/jinkin1995/vue-json-edit/pull/45

tharindupr commented 2 years ago

still having the same issue.