I have webos app code in which I have one resource folder which has fonts and images and it’s name is static like above screenshot
but when I’m creating bundle package and installing app on tv I’m getting error RegRoboto.ttf:1 Failed to load resource: net::ERR_INVALID_URL
DOMException: A network error occurred.
so is this a case that I’m missing that folder or is there any other way to include?
You can access app assets relative to the location of the index.html file within your package structure. From the index.html file, you can refer to a font in the assets directory as follows: