0
menu.append(new MenuItem({label: 'Remove',click () {self.removeArticleEntity(item)},icon: 'src/renderer/assets/images/test-image.jpeg'}))
I was using the wrong path earlier, and now the icon is added when I add a correct path to an image.
Source:stackexchange.com