November 2017
Beginner
294 pages
6h 55m
English
First, let's take a look at a simple box demo. Let's start with a freshly generated site. Go to your node.js command-line interface and kill any npm start windows you have running and recreate a new, fresh site by issuing the command:
f:\ReactVR>React-vr init GoingNative
The first task is to go to the vr folder and edit client.js. Up to this point, we haven't had to edit this file; it contains boilerplate React VR code. Today, we're going to edit it, as we aren't doing just boilerplate. The bold lines in the following code are the lines we will add to client.js:
// Auto-generated content.// This file contains the boilerplate to set up your React app.// If you want to modify your application, start in "index.vr.js" ...
Read now
Unlock full access