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
The code is vanilla JavaScript, so it should be compatible with TypeScript as-is (although it won't have any types specified). The same goes for React / Vue / etc. You should be able to load SmilesDrawer as a separate library, and call out to it when you need it.
In React, I believe you would use a useEffect() callback to do your drawing. I'm not familiar with Vue.
Do you have a link with the sort of examples you're looking for? I could write something up to add to the docs, but I'm not very familiar with any of the big JS frameworks, so it would be nice to see some existing examples to get started.
How do vue3+ts projects use this great library
The text was updated successfully, but these errors were encountered: