You need to have node.js installed.
Start with npm run init
This command will init a git repository on your machine, install dependencies and remove useless files and directories for your project. After that, this command won't be available anymore.
Run the local webpack-dev-server with hotreload and autocompile on:
- local: http://localhost:8080/
- network: http://your-local-ip:8080/
$ npm run dev
Go to your-url/#debug
- @:
src/
- @style:
src/style/
- @fonts:
src/fonts/
- @models:
src/models/
- @sounds:
src/sounds/
- @shaders:
src/shaders/
- @textures:
src/textures/
- @js:
src/js/
- @tools:
src/js/Tools/
- @world:
src/js/World/
- eslint
- prettier
- babel
- stylus
- dat.GUI
- automatic models / textures / sounds / fonts.json import
Build the current application (default output in dist/
).
$ npm run build