Skip to main content

Include images in a custom app

  • May 20, 2022
  • 0 replies
  • 4 views

Forum|alt.badge.img+1

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

Be the first to reply!