I am trying to load images dynamically from the /public folder, but when I build the apps it doesn't load the images (I think they're not bundled even though I added them to the resource config)
Code:
<For each={characters()}>
{(char) =>
<div class="card">
<img src={`avatar/${char.id}/front.png`} />
</div>
}
</For>
Config:
"bundle": {
"resources": [
"../public"
],
},
Am I missing something or is this just broken?