-
Notifications
You must be signed in to change notification settings - Fork 134
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
Issues using with Quasar Framework #3
Comments
Hi, I just got the same problem. This message is a warning (not an error) but vue-konva is not rendering. This seems to be a side-effect of the last vue-cli release as vue-konva works well with a project generated with vue-cli v2.9.0 but not with vue-cli v3.0.0-alpha.4. |
Hi, try to add this alias in your webpack config |
The problem is that webpack is now managed by vue-cli and is hidden from project. I did not find any information on how to override it or how to eject it from the cli. The official documentation still refers to v2.9.0 cli. Virtualvinodh, are you using v3 or v2.9? |
Actually, I'm not using vue-cli. I'm using the cli from the framework. https://www.npmjs.com/package/quasar-cli I think it internally uses webpack (similar to vue-cli) to perform the compilation. V |
Hi @virtualvinodh, I saw that in the path of library generated by quasar-cli, there is the webpack config where you have to add the alias On the other hand, @Ldoppea, you right, vue-cli v3.0.0 alpha doesn't expose the webpack config. |
Thanks for investigation, I hope they'll release the documentation soon. |
They posted the documentation on their To make it work, a
Also the This will be the procedure for all Vue-CLI 3.0 generated projects, so it would be useful to add a note in your |
@rafaesc , what is advised above is essentially a workaround. Proper solution should be applied to vue-konva. This lib should configure it's own dist files down to render function i.e. should pre-compile templates when releasing dists. Here is the advice in regards to the similar issue with different component. |
This should fix it #13 |
@MKRazz PR merged on 1.0.6 version |
Hi,
I am trying to use vue-konva within the Quasar framework. However, for some reason, the canvas is not being rendered and I get the following error.
I am totally new to vuejs. Am I doing something completely wrong?
V
The text was updated successfully, but these errors were encountered: