This is the boilerplate for Three.js apps.
follow these simple steps:
- Clone the repository;
- Open the folder in Visual Studio Code;
- Open the terminal and type this command: npm install
- Create a folder in ./ and name it "static"
- 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.