Hi, I am using the animated_fox example as an animation inside a standard Vue3 app.
As Vue.app I just copied the vue file from @boreal owl since he had a bavy game running in Vue
The fox is not shown inside the Vue app but inside the index.html of the official tutorial.
I would appreciate any advice. I think this could be great for use in web apps.
To reproduce:
- npm create vue@latest
- create the example with the wasm target and the js file with wasm-bindgen as said in the tutorial
- rewrite App.vue to call the generated .js file
- compare the results of the Vue app and the index.html (npm run dev & python -m http.server -d src)
I have created a temporary repo where you can try it out yourself.
Thanks in advance!