[Vuejs]-Rive animation in Vue.js โ€“ Use .riv file from assets

0๐Ÿ‘

Your first try actually looks correct ๐Ÿค”

Just realized, that this just worked due to browser caching ๐Ÿ™ˆ

You can simply put all your .riv files into public/assets and reference them like assets/your-file.riv.

enter image description here

https://cli.vuejs.org/guide/html-and-static-assets.html#the-public-folder

Leave a comment