https://hashnode.com/post/how-to-make-react-vr-apps-cj2bivllj004r2d53m68z4p1z
-
npm run bundleon 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 folderinto thevr/builddirectory. (Heroku errors on this, which is why it needs thestatic_assetfilenames in the index.html file). We may be able to resolve this by using a remote CDN to host thestatic_assets, and passing in theassetRootargument toReactVR.init. See the ReactVR deployment instructions here.
NewerOlder