You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the Vue-component i get the following error:
ERROR in ./~/schema-based-json-editor/dist/vue.js
Module not found: Error: Can't resolve 'vue-class-component' in '/Users/sli/Documents/shub/connectors/hbci_parser_api/src/web-frontend/node_modules/schema-based-json-editor/dist'
@ ./~/schema-based-json-editor/dist/vue.js 3:28-58
As vue-class-component is imported/required in the compiled component, this module probable needs to be listed as npm dependency. In contrast to being a dev-dependency.
Unfortunately after installing it and being able to compile, the component causes an error (Uncaught ReferenceError: __extends is not defined) during runtime. I'll take a deeper look into it and keep you updated.
The text was updated successfully, but these errors were encountered:
This library should also works with angular and react, when they don’t rely on vue-class-component, so I cannot add vue-class-component in the dependencies.
I just added it in the document.
(__extends is not defined) problem can be solved by updating to the latest version(3.7.2) or add code like:
```js
import { __extends, __decorate, __assign } from "tslib";
window.__extends = __extends;
window.__decorate = __decorate;
window.__assign = __assign;
```
I just moved them into the library, so you don’t have to write it in your code.
When trying to use the Vue-component i get the following error:
As
vue-class-component
is imported/required in the compiled component, this module probable needs to be listed as npm dependency. In contrast to being a dev-dependency.Unfortunately after installing it and being able to compile, the component causes an error (
Uncaught ReferenceError: __extends is not defined
) during runtime. I'll take a deeper look into it and keep you updated.The text was updated successfully, but these errors were encountered: