https://hashnode.com/post/how-to-make-react-vr-apps-cj2bivllj004r2d53m68z4p1z
-
npm run bundle
on the ReactVR project. It creates a new folder invr/build
. The exported files should be self-sufficient when uploaded to a web server. -
Copy static_assets folder
into thevr/build
directory. (Heroku errors on this, which is why it needs thestatic_asset
filenames in the index.html file). We may be able to resolve this by using a remote CDN to host thestatic_assets
, and passing in theassetRoot
argument toReactVR.init
. See the ReactVR deployment instructions here.
NewerOlder