build-threejs-app
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "build-threejs-app", | ||
"private": false, | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "bin": "bin/buildApp.js", |
@@ -7,8 +7,7 @@ # Three.js Boilerplate | ||
__Clone the repo:__ | ||
__To create a project, simply run:__ | ||
```bash | ||
npx build-threejs-app <project-name> | ||
``` | ||
git clone --depth 1 https://github.com/bibashmgr/three-js-boilerplate | ||
cd three-js-boilerplate | ||
``` | ||
@@ -21,4 +20,2 @@ __Install the dependencies:__ | ||
## Commands: | ||
__Run app in development:__ | ||
@@ -45,16 +42,16 @@ | ||
public\ | ||
|--models\ | ||
|--textures\ | ||
|--models\ # Contain gltf models | ||
|--textures\ # Contain textures | ||
src\ | ||
|--constants\ # Environment variables and configuration related things | ||
|--helpers\ # Helper classes and functions | ||
|--scenes\ # Scenes and Objects logic | ||
|--shaders\ # Shaders | ||
|--utils\ # Utility classes and functions | ||
|--camera.js | ||
|--experience.js | ||
|--renderer.js | ||
index.html | ||
|--constants\ # Contain environment variables and configuration related things | ||
|--helpers\ # Contain helper classes & functions | ||
|--scenes\ # Contain scenes & objects | ||
|--shaders\ # Contain shaders | ||
|--utils\ # Contain utility classes & functions | ||
|--Camera.js # Handle cameras & controls | ||
|--Experience.js # Handle experience & scenes | ||
|--Renderer.js # Handle renderers | ||
index.html | ||
main.js | ||
style.css | ||
style.css # Custom styling | ||
``` |
4388219
55