Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Include images in a custom app

Topic Labels: Custom Extensions
840 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