Render local html as well as js/css/img

I have a reporter folder, including html/js/css/img. Itโ€™s working to open with browser.
Iโ€™d like to create a page to load them and render html in streamlit.

Thanks for your help

You can read the html file from python and pass it to components.html.

Relevant docs:

Thanks for your update. I tried it. Itโ€™s not working if css/img/js are in other folder and reference with link.
I have a complete reporter directory, it contains html/css/js/sub-folders, would like to host to streamlit server, like what we see with browser in local.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.