Local Installation and Starter Template
We recommend following the Babylon + Vite guide to set-up your Babylon.js project.
Once your project structure is up and running, install Anu.js by building it locally in a different file directory and linking it to your project.
npm install @jpmorganchase/anuThen import the anu name space
import * as anu from '@jpmorganchase/anu';You can now call Anu methods as such
//shape, name, options, data, sceneanu.create('box', 'myBox');Or Use The Anu-Starter Template
You can also install the anu starter template using these npm commands or downloading the template on this page.
npx @jpmorganchase/anu-starter@latest my_projectcd my_projectnpm installnpm run devSee and modify main.js to get started.
Files
Preparing Environment
- Installing dependencies
- Starting http server