web-view icon indicating copy to clipboard operation
web-view copied to clipboard

More documentation on asset inlining

Open cbeust opened this issue 4 years ago • 1 comments

I am using a Javascript package that has images. The web-view documentation says to use inline-assets to package those but since it's an npm process, I'm not quite sure how to proceed.

This package references a bunch of "img/aaa.png", which works fine in a standalone HTML file but not when I run it through web-view.

Where can I find an example on how to do this?

Thanks!

cbeust avatar Apr 16 '21 21:04 cbeust

You probably need to implement some sort of web-server inside rust binary. Tiny HTTP is very useful.

Revertron avatar May 11 '21 21:05 Revertron