How to make a panel with images?

When you’re referencing assets from JS, you’ll want to require() the asset, rather than just using the path as a string, so that it resolves the assets at build time.

Something like this should work:

<img src="{$require('./assets/tesla-mini.jpg'}" ...>

1 Like