Minimal boilerplate using Three.js with WebPack and ES6.
Using Three.js, ES6 imports, Orbit controls, Stats.js.
npm install
npm run dev
- Navigate to
http://localhost:3000/
app.js
is built and minified from from src/js/main.js
. Static files (html and css) are copied from src/static
folder. Browser reloads upon changes to js or static folders.
npm run build
- Production files are created in
dist
folder
- Add GLSL shader example
- Add SASS
MIT.