The documentation source of Oasis Engine.
- Clone the engine repository to local (if you have done, please skip to next step):
git clone [email protected]:oasis-engine/engine.git
cd engine
npm i
npm run b:typescdto this site repository, modify thetypedocSourcefield value insiteconfig.jsonfile:
"typedocSource": "{ENGINE_REPOSITORY_PATH}",Then run:
$ npm install
$ npm run bootstrap
$ npm run devOK, visit http://localhost:8000 .
// leave a blank line here
<playground src="buffer-mesh-instance.ts"></playground>
- Build the public content:
$ npm run build- Copy the files in
publicdirectory to the root ofgh-pagesbranch.
npm run playground- Mac
npm link ../engine/packages/* --no-package-lock- windows
npm link ..\engine\packages\oasis-engine --no-package-lock