Skip to content

takenorioshima/threejs-typescript-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

threejs-typescript-boilerplate

Three.js boilerplate with TypeScript and esbuild.

Screen Shot 2022-11-28 at 12 54 49

Useage

Clone this repository to your local project directory

% git https://github.com/takenorioshima/threejs-typescript-boilerplate my-threejs-project
% cd my-threejs-project

Install npm packages with yarn

% yarn install

Transpile source code

% yarn build

Start local webserver

% yarn server

Browser will open automatically and you can see rotating 3D model.

Development

Edit src/main.ts, then % yarn build. Watch option(build on save) is also available with % yarn watch.

About

Three.js + TypeScript + esbuild Boilerplate

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published