Skip to content

Repo Template: three, vite, eslint

License

Notifications You must be signed in to change notification settings

epreston/template-web-threejs

Repository files navigation

Three.js Template Web Project

Repo Template: three, vite, eslint, prettier

CI

Quick Start

Install Node.js, start a new repository using this template, create a local clone of your new repository, and run the following console commands within your local copy:

# install dependencies
npm install

# start a local server and open in browser
npm run start

Scripts

Action Command Description
dev npm run dev Start a development server
build npm run build Create a production build into "dist"
lint npm run lint Run static code analysis
format npm run format Format source files

Libraries

Library Reference
three.js https://threejs.org
tweakpane https://tweakpane.github.io/docs/

Tools

Tool Reference
Node.js https://nodejs.org
Vite https://vitejs.dev
ESLint https://eslint.org
Prettier https://prettier.io
EditorConfig https://editorconfig.org

References

Website Reference
Can I Use https://caniuse.com
Browserslist https://browsersl.ist
glTF https://www.khronos.org/gltf/
WebGL2 https://www.khronos.org/webgl/
Fundamentals https://webgl2fundamentals.org

License

This template is released under the MIT License.