babylon.js source code modification and testing method

Solve compilation and testing to customize development of babylonjs

Compile babyloy

Compiling babylon is relatively simple. Just clone the code and execute the following npm command in the project root directory. Compilation will generate babylon.js.

npm run build:babylonjs

Run dev host for testing

babylon comes with a test project, and its code is under tools/devHost. You can modify its code to test the modified source code. Run the following command to start the test project:

npm run serve -w @tools/dev-host

Guess you like

Origin blog.csdn.net/loveoobaby/article/details/129271110