Skip to content

Latest commit

 

History

History
executable file
·
27 lines (16 loc) · 586 Bytes

README.md

File metadata and controls

executable file
·
27 lines (16 loc) · 586 Bytes

three-webpack-boilerplate

Minimal boilerplate using Three.js with WebPack and ES6.

Using Three.js, ES6 imports, Orbit controls, Stats.js.

Build Dev

  • 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.

Build Production

  • npm run build
  • Production files are created in dist folder

To Do

  • Add GLSL shader example
  • Add SASS

License

MIT.