Jive Support jive software This is similar to a post from March 2016 Add-on:How to reference own icons/images?. A lot of what he asked is what I am looking for a solution to. How do I access my images/svgs from within the add-on? What path should I be using?
Our add-ons follow the format of
This works when placed int he index.html:
<img id="image-upper" src="./images/folder/image.svg">
const image = './images/folder/folder/image.svg'
I have to do this to access the asset, which is not something I think is intended by Jive, or is it?
const image = '/resources/add-ons/../../apps/simpleapp/images/folder/folder/image.svg/'
I've tried various ways to get to that URL that I know it is at with no luck.
None of the above path targeting work.
Or am I missing something on how to access these resources with a basic 'images/image.svg'?