-
-
Notifications
You must be signed in to change notification settings - Fork 838
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
The vue-chartjs/src entry point is still creating a new vue instance. #55
Comments
What webpack version are you using? As you can see in the package.json the main entry is the bundled umd file. And a transpiled ES module file is set as If you're using webpack 2, it should automatically load the es module, as it supports the Webpack 1 does not support this as far as I know. So you have to import the file manually or set an alias.
You can also import from the |
Ah sorry, I had thought I included my Webpack version in the initial comment. I am using Webpack 2.2.1. I am going to run through my configs again at some point today and I will update you on what I figure out. Thanks for the quick response! |
Are you using a custom config or the |
I am using a custom config. |
Can you post your webpack.config or even better, provide a minimal repo for reproduction ? |
Any updates on this @gwilakers ? |
Expected Behavior
As per the docs, this entry point is not supposed to load vue.common.js.
Actual Behavior
Even when using this entry point, vue.common.js is loaded a second time.
Currently importing the package like this:
Is there additional configuration that needs to be done within my webpack config? I didn't see anything in the docs for this.
Any more information I can provide that would help out just let me know, but my code is not much different from the example code as I was just starting out with this and noticed the second instance.
Environment
The text was updated successfully, but these errors were encountered: