You can try wrapping the asset path with require()
:
However, the best practice here would be make the background image a schema value of your component and set the image from the component configuration in the properties panel.
You can try wrapping the asset path with require()
:
However, the best practice here would be make the background image a schema value of your component and set the image from the component configuration in the properties panel.