This is a Babylon.js minimal React template with Typescript and Tailwind.css using Vite.
npm install
in the terminal to download the required NPM modules.npm run dev
into the terminal to run a development server or npm run build
to create a production build.Create a development server using npm run dev
in the terminal. This will open a local port which you can visit to view your project.
Create a production build of your project using npm run build
in the terminal. This will create a folder named dist
which contains all the files needed for distrubution.
Root .html file of your project.
All images or assets are stored here. Note that the files and folders in this directory will be served to the root.
All the code of your project.
The main file that is used in the /index.html
file.
Your actual Babylon.js code. Edit this file to create your scene.
Thank you for using this template, Feel free to use and contribute to this open-source Babylon.js template as you wish. If more complexity or updated code is needed, just fork the template and I will be happy to pull it from it.