Embed PlayCanvas project into Vue.js project

I am currently trying to embed a playcanvas reference project into a vue.js project

https://playcanvas.com/project/878046/overview/cubetexture
I have created a vue project and replaced the index.html file of the project to refer to playcanvas which results in this error when trying to launch.
Have tried installing ammojs with npm

Any help on this issue would be appreciated

Hi @Sripal,

Most likely this isn’t an issue with the PlayCanvas project you shared but with your local server. Make sure the .wasm file is correctly served, it seems you are getting some network errors there.

1 Like

Check your other thread where I updated the Skeeball project to use the latest Ammo library: PlayCanvas Vuejs Compatibility - #9 by yaustar

Thank you @leonidas and @yaustar. Updated the files, working fine now

1 Like