Skip to content

Demo hybrid Three.js JS/PHP client-side app with Uniter-Loader

Notifications You must be signed in to change notification settings

uniter/cube-demo

Repository files navigation

Uniter Cube demo

Getting started

  1. npm install
  2. composer install
  3. npm start
  4. Open http://localhost:8080 in a browser

Playing around

The PHP source code is in the php/src/* folder - dig in and make changes.

Debugging

For a debugging build including source maps, use npm start and then visit http://localhost:8080/.

You should simply see a spinning 3d cube. Open the devtools up, search for Demo.php and set breakpoints in the PHP code.

Keeping up to date