Create-babylon-app, creating Babylon.js dev environment in a one command

Hello, Babylonians :wave:.
I published a Node.js CLI named ‘create-babylon-app’.
This provides some templates (currently two) of Babylon.js development environments, and install them in a command.
You can run the following commands to launch dev server that hosting Babylon.js web application!
(also pnpm and yarn is supported)

# create a project from template
npm create babylon-app

# install dependencies
npm i

# launch dev server
npm run dev

I’ve added Vite-ts and Vite-js templates.
I assume that the webpack and some JS framework integration templates are in demand.


7 Likes

Forked! :slight_smile:

1 Like

This is amazing! Thanks for sharing with the community! :heart:

2 Likes

This is great, thanks!

I first came across the tutorial here Babylon.js docs
but got confused by the unusual folder structure - a parent folder then project subfolders.

So, they should replace that with this!

1 Like

Welcome @bburnskm!

Honestly, thanks to @drumath2237 for the initiative but the scaffolded project is far from perfect.

@bburnskm you can find several boilerplate projects for babylon.js on GitHub:

https://github.com/search?q=babylonjs%20boilerplate&type=repositories

Choose the most recent and/or the one with the most stars.

:vulcan_salute:

Yes exactly, this is still a experimental and hobby project…(not 1.0)
I want to keep improving this!

1 Like

You should definitelly improve it to a full-blown stackfolding tool!

1 Like