/basic

Primary LanguageJavaScript

Basic - A Simple BabylonJS Example with TypesScript

I use this as a starting point for my BabylonJS projects.
You can see the result here.

How to build


Software Requirements

  • npm - tested with npm 9.3.0

Install dependencies

npm install

Build

npm run build

or

npm run dev

Publish

First, copy deploy.sh.examples to deploy.sh and edit it to your liking.

Then run:

npm run publish

After it completes, you can visit your site at https://<your github username>.github.io/<your repo name>. It may take a few minutes for the site to be available. Double-check that the GitHub Pages in your project is set to gh-pages in the repo settings.

Starting a new project

  • Edit package.json to change the name, description, and author.
  • Remove the .git folder and re-initialize the repo.
  • Have fun!