Help

Include images in a custom app

Topic Labels: Custom extensions
206 0
cancel
Showing results for 
Search instead for 
Did you mean: 

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?

0 Replies 0