/three-boilerplate

Template to bootstrap a three.js app with vitejs and typescript. 🍲

Primary LanguageTypeScript

Three boilerplate 🍲

Template to bootstrap a three.js app with vitejs and typescript.


          ____        _ __                __      __
         / __ )____  (_) /__  _________  / /___ _/ /____
        / __  / __ \/ / / _ \/ ___/ __ \/ / __ `/ __/ _ \
       / /_/ / /_/ / / /  __/ /  / /_/ / / /_/ / /_/  __/
      /_____/\____/_/_/\___/_/  / .___/_/\__,_/\__/\___/
                               /_/


Setup

Download Node.js. Run this followed commands :

# Install dependencies (only the first time)
npm i

# Run the local server at localhost:8080
npm run dev

# Access to debug mode at localhost:8080/#debug

# Build for production in the dist/ directory
npm run build