UXP WebView support for loading local html content

I’ve done this by simply by getting my local html file content and stringifying it using fetch(URL).text(); and then rendering it in the required html element with .innerHTML

That’s if I’m understanding what you want to achieve correctly - i.e. split your html into separate files. I’m not taking into account any requirement to use WebView.

1 Like