create-vite-babylonjs-ts
v1.0.5
Published
Babylon.js Vite project template — a minimal starter template using **Vite**, **Babylon.js**, and **TypeScript**.
Readme
vite-babylonjs-ts
Babylon.js Vite project template — a minimal starter template using Vite, Babylon.js, and TypeScript.
Features
- ⚡ Vite for fast development and optimized builds
- 🎮 Babylon.js 3D rendering engine
- 🔷 TypeScript for type-safe code
- A simple demo scene with an
ArcRotateCamera,HemisphericLight, and a rotating box
Getting Started
# Create a new Vite project using the template
npm create vite-babylonjs-ts
# Install dependencies
npm install
# Start the development server
npm run dev
# Build for production
npm run build
# Preview the production build
npm run previewProject Structure
├── index.html # Entry HTML with canvas element
├── src/
│ └── main.ts # Babylon.js scene setup
├── vite.config.ts # Vite configuration
└── tsconfig.json # TypeScript configuration