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 vite
- Ctrl + click on the server link "http://localhost:5173/" to open the app in your browser;
- Have fun!
• The /public folder is where you put the images and 3D models.