Include images in a custom app

I’m attempting to add a custom gif into a custom app. The file is stored in frontend/assets/selectTable.gif.

import selectTable from '../assets/selectTable.gif'
...
<img src={selectTable} />

In my terminal window, I see Bundle Error: Unexpected character ''.

Does anyone know how to load an image?

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.