Install the Three.js Typescript Boilerplate

Video Lecture

Install the Three.js Typescript Boilerplate Install the Three.js Typescript Boilerplate



This sections is optional. If you completed all the sections before this, then you already have the project created. The boilerplate is useful if you have chosen to to bypass all the preceding sections, or you already completed the course and you want to create a brand new Three.js TypeScript project and you would like to use a pre created project boilerplate to start with.

GitHub Repository : Three.js-TypeScript-Boilerplate

Clone the repository.

git clone
cd Three.js-TypeScript-Boilerplate
npm install -g typescript
npm install
npm run dev

Open a browser and Visit

You should see a spinning green wireframe cube, and also be able to rotate it using your mouse.

This is our Three.js Typescript helloworld application that we will discuss fully in the next few sections.