Help

Include images in a custom app

Topic Labels: Custom Extensions
754 0
cancel
Showing results for 
Search instead for 
Did you mean: 
James_Timmins
5 - Automation Enthusiast
5 - Automation Enthusiast

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