w-gao / babylonjs-typescript-starter

Babylon.js + TypeScript + Vite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

babylonjs-typescript-starter

This is a minimalist starter kit for Babylon.js using Vite instead of webpack.

To start the dev server, run: yarn dev.

The sample scene from this guide is included: https://doc.babylonjs.com/guidedLearning/createAGame/gettingSetUp

Commands

yarn dev

Start the local development server with HMR.

yarn build

Generate a production build to directory specified by --outDir.

yarn preview

Start a server to preview the static files of the production build.

yarn lint

Lint files. Specify --fix to perform an inplace fix.

About

Babylon.js + TypeScript + Vite


Languages

Language:TypeScript 75.3%Language:HTML 19.7%Language:CSS 5.0%