Repo Template: three, vite, eslint, prettier
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
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 |
Library | Reference |
---|---|
three.js | https://threejs.org |
tweakpane | https://tweakpane.github.io/docs/ |
Tool | Reference |
---|---|
Node.js | https://nodejs.org |
Vite | https://vitejs.dev |
ESLint | https://eslint.org |
Prettier | https://prettier.io |
EditorConfig | https://editorconfig.org |
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 |
This template is released under the MIT License.