⚠️ Please make shure to update the repository after the installation
- TypeScript support
- HTML & CSS support
- Integrated development server with live reload
- Source maps in development mode
- Optimized and minified production build
- Clone the repository:
$ git clone https://github.com/Joh4nnesB/threejs-typescript-webpack.git $ cd threejs-typescript-webpack
- Install all required dependencies:
$ npm install
- Modify the
./package.json
file for your needs and delete the./.git/
folder.
$ npm run dev
Your web browser will automatically open the page http://localhost:8080/
and you'll see a beautiful flying saucer.
When you edit, delete or re-create a file, the page is automatically reloaded.
$ npm run build
You'll find the output files in ./public/
The ./assets/flying_saucer.glb
file by Google from Google Poly is licensed by CC-BY 3.0 (modified).
Other files are licensed by MIT