If you are using any of the backends provided here, you can add the backends/imgui_impl_xxxx (.cpp,.h) files to your project and use as-in. Each imgui_impl_xxxx.cpp file comes with its own individual ...
You need to install Emscripten from https://emscripten.org/docs/getting_started/downloads.html, and have the environment variables set, as described in https ...