This is the boilerplate that I'm using for my Three.js tutorials.
Wanna use it? okay then just follow these simple steps:
- Clone the repository;
- Open the folder in Visual Studio Code;
- Open the terminal and type this command: npm install
- Run the app on the server by typing this command: npx parcel ./src/index.html
- Ctrl + click on the server link "http://localhost:1234" to open the app in your browser;
- Have fun!
• The ./static folder is where you put the images and 3D models.
• The the ./src/ is where you put your Javascript and CSS folders and files.