Adding icons in Extension

I’m trying to add svg icon in an extension using the following code:


The icon is in the same path as but it always displays the question mark (?). I tried changing the path and different svg icons but the same issue occurs.

Any help would be much appreciated here.


Hi @farman.ahmed. Have you tried providing an absolute path?