I use this as a starting point for my BabylonJS projects.
You can see the result here.
- npm - tested with npm 9.3.0
npm install
npm run build
or
npm run dev
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.
- Edit
package.json
to change the name, description, and author. - Remove the .git folder and re-initialize the repo.
- Have fun!