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

Not compatible with webpack vue-loader v13+ #240

Open
voveson opened this issue Nov 11, 2017 · 0 comments
Open

Not compatible with webpack vue-loader v13+ #240

voveson opened this issue Nov 11, 2017 · 0 comments

Comments

@voveson
Copy link

voveson commented Nov 11, 2017

From the release notes of vue-loader v 13.0.0:

Similarly, old CommonJS-style requires will also need to be updated:


// before
const Foo = require('./Foo.vue')

// after
const Foo = require('./Foo.vue').default

This results in the following error when using certain vue-admin components:

[Vue warn]: Failed to mount component: template or render function not defined.

I'd be happy to do a PR to bring compatibility up to date, but I'm not sure how it would affect other projects using older versions of vue-loader, or projects not using vue-loader at all. Not sure what the protocol would be for something like this...?

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

1 participant