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
I'm attempting to set this up to work with Vue 2.0. First thing I had to do was edit the definitions from definitely typed for Vue so that it exports a default module instead.
Using vue-typescript, I get the following error:
vuecomponent.js:38Uncaught TypeError: Class constructor default_1 cannot be invoked without 'new'
and it points to the following block of code:
// a utility function to generate instances of a class
function construct(constructor, args) {
var c = function () {
return constructor.apply(this, args);
};
c.prototype = constructor.prototype;
return new c();
}
under the vuecomponent.js file.
Just wondering if there will be an update to support 2.0, and what I can do in the meantime so that I can get this working.
Thanks for all your hard work!
The text was updated successfully, but these errors were encountered:
I'll look into it for sure, however i'm out of the country until september. I'm planning on releasing a major update early to mid september this will be a top priority
I'm attempting to set this up to work with Vue 2.0. First thing I had to do was edit the definitions from definitely typed for Vue so that it exports a default module instead.
Using vue-typescript, I get the following error:
vuecomponent.js:38Uncaught TypeError: Class constructor default_1 cannot be invoked without 'new'
and it points to the following block of code:
under the vuecomponent.js file.
Just wondering if there will be an update to support 2.0, and what I can do in the meantime so that I can get this working.
Thanks for all your hard work!
The text was updated successfully, but these errors were encountered: