You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the package in my Vue 3 TypeScript (v3.2.45) with Composiiton API project, but an error occurs when I am trying to instanciate a VueDrawableCanvas component.
Here is my code (reduced to the interesting part) :
Do I badly instanciate the component, or is it an error in the package ?
FYI, when I am taking the given playground code and put it in my component, and just change the import to the node_modules path to make it work (import VueDrawableCanvas from 'vue-drawable-canvas';), I also have the error.
The text was updated successfully, but these errors were encountered:
Hello,
I tried to use the package in my Vue 3 TypeScript (v3.2.45) with Composiiton API project, but an error occurs when I am trying to instanciate a
VueDrawableCanvas
component.Here is my code (reduced to the interesting part) :
With this, the components "works" but a TypeScript error is thrown. Here is the error :
Moreover, I have additional errors when I am trying to instanciate the state using the
enum
in a cleaner way as below (with imports correctly added) :Do I badly instanciate the component, or is it an error in the package ?
FYI, when I am taking the given playground code and put it in my component, and just change the import to the
node_modules
path to make it work (import VueDrawableCanvas from 'vue-drawable-canvas';
), I also have the error.The text was updated successfully, but these errors were encountered: