Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Babylonjs in Reactjs Application?

I have tried import babylonjs in react but its is not working. Does any body know how to import and use the babylonjs in reactjs application.

Thanks.

like image 905
veerasuthan V Avatar asked Feb 11 '26 21:02

veerasuthan V


1 Answers

Not sure if you have found the answer on your own, however there are several ways now as babylon has matured. There is actually a Node package for using babylon.js with react here: https://www.npmjs.com/package/react-babylonjs

Also there is an install guide for React in Babylon.js in the docs:
https://doc.babylonjs.com/resources/babylonjs_and_reactjs

Hope that helps!

like image 61
ShowstopperCode1 Avatar answered Feb 14 '26 18:02

ShowstopperCode1



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!