The basic process is easy with the React VR provided script:
- Go to the VR directory where you normally run npm start, and run the npm run bundle command:
- You will then go to your website the same way you normally upload files, and create a directory called vr.
- In your project directory, in our case f:\ReactVR\WalkInAMaze, find the following files in .\VR\Build:
client.bundle.js
index.bundle.js
- Copy those to your website.
- Make a directory called static_assets.
- Copy all of your files (that your app uses) from AppName\static_assets to the new static_assets folder.
- Ensure that you have MIME mapping ...