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:types
cd
to this site repository, modify thetypedocSource
field value insiteconfig.json
file:
"typedocSource": "{ENGINE_REPOSITORY_PATH}",
Then run:
$ npm install
$ npm run bootstrap
$ npm run dev
OK, 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
public
directory to the root ofgh-pages
branch.
npm run playground
- Mac
npm link ../engine/packages/* --no-package-lock
- windows
npm link ..\engine\packages\oasis-engine --no-package-lock