LVGL to web browser

How can I get my LVGL to run on my browser using Emscripten? I can run the demos on my web browser but unsure how I can get my own project to be able to run on there. https://github.com/lvgl/lv_web_emscripten

There is a different topic showing just this.

I saw the post, but I was hoping that I would be able to leverage the build system already in this repo [GitHub - lvgl/lv_web_emscripten: LVGL ported to Emscripten to be converted to JavaScript]. It has the ability to build and run the demos on the web browser, I was hoping to gain some insight on how to build my own LVGL project rather than the demo since there is not much documentation on this.

Looks like you can just edit the main.c to run your program instead of a demo