-
Notifications
You must be signed in to change notification settings - Fork 52
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
Fail to import #8
Comments
Sorry, I've neglected to update the readme properly. The correct use from v2 should be to import and initialise in your entry-point file (typically main.js), like so: import Vue from 'vue'
...
import ImageUploader from 'vue-image-upload-resize'
Vue.use(ImageUploader)
...
new Vue({
render: h => h(App),
}).$mount('#app') Then you should be able to use Does this work? I'll fix the Readme asap... |
@mhpm I also put together a quick demo on https://codesandbox.io/s/mqnow97omj Maybe that can be helpful. Please feel free to re-open if this is not the right solution. |
@svale Thank you so much my friend! it already works! that solved my problem! |
Please update the README.md on github too! i still see the old version! |
:-) Done! |
v
always give me this error, please help
The text was updated successfully, but these errors were encountered: