This demonstrates the minimum code to connect Manifold to a three.js rendering. A slightly more complex example involving GLTF export and <model-viewer> can be found here.