Is there any way to add rive-canvas to a vue.js + quasar project? I’m doing something wrong.
I’m trying to integrate rive animations in a project, but I’m having problems doing it, more specifically when using the Rive function to render the animation, the error that returns is the declaration of the Rive variable, which I call in this excerpt:
Rive ({
locateFile: (file) => 'https://unpkg.com/rive-canvas@0.6.10/' + file,
}). then ((rive) => {
...
...
...
And the error that returns:
[Vue warn]: Error in mounted hook: “ReferenceError: Rive is not defined”
Has anyone messed with this, or know how to help me?
Thanks!