There was an error while loading. Please reload this page.
clone the repo to a new folder called XR
XR
git clone https://github.com/xrscript/XR.js XR
cd to the XR.js main directory
cd XR
start the app
node app
now go to http://localhost:4000
http://localhost:4000
Here is the bare minimum you need to get started. Place the following code in your HTML file.
Remember to use <script type="module">
<script type="module">
<script type="module"> // import XR.js import * as XR from '/XR.js'; // create a reality var reality = new XR.Reality(); </script>
See Examples for more.
You can set up Chrome to debug — see Debug USB and Debug WiFi.