Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue 2.0 #12

Open
mattoni opened this issue Aug 15, 2016 · 3 comments
Open

Vue 2.0 #12

mattoni opened this issue Aug 15, 2016 · 3 comments

Comments

@mattoni
Copy link

mattoni commented Aug 15, 2016

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!

@itsfrank
Copy link
Owner

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

@mickdekkers
Copy link

@itsfrank is the update still planned? Could we possibly get a new ETA? Thanks!

@neilsimp1
Copy link

@itsfrank I'm looking for this, too. Any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants