Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

uint42/threejs-typescript-webpack

Repository files navigation

TypeScript and Three.js made easy

⚠️ Please make shure to update the repository after the installation

Features

  • TypeScript support
  • HTML & CSS support
  • Integrated development server with live reload
  • Source maps in development mode
  • Optimized and minified production build

Setup

  1. Clone the repository:
    $ git clone https://github.com/Joh4nnesB/threejs-typescript-webpack.git
    $ cd threejs-typescript-webpack
    
  2. Install all required dependencies:
    $ npm install
    
  3. Modify the ./package.json file for your needs and delete the ./.git/ folder.

Start the development server

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

Build

$ npm run build

You'll find the output files in ./public/

License

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

About

TypeScript and Three.js made easy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published