deaxmachina / template_threejs-basic-vite

Same as the template_threejs-basic-webpack but with just a vanilla vite tempalte

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic Three.js Vite Starter Template

Credit: Three.js Journey by Bruno Simon modified starter code for Lesson 10 Debug UI Note that this is for the basic tempalte which doesn't use shaders. I haven't been able to get shader .glsl files to load using the vanilla Vite tempalte.

Setup

# Install dependencies (only the first time)
npm install

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

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

About

Same as the template_threejs-basic-webpack but with just a vanilla vite tempalte


Languages

Language:JavaScript 81.9%Language:HTML 13.0%Language:CSS 5.2%