Help using Stencil component inside Electron app


#1

Using the Stencil component starter project I created a simple my-component object and published it to npm here: https://www.npmjs.com/package/@marekknows/my-component

I then used the electron-webpack-quick-start project to create a basic application that uses the previously mentioned component. Code here: https://github.com/mmakrzem/myApp

I can start running the Electron App with npm start however my-component does not render in the window. The Stencil documentation (https://stenciljs.com/docs/distribution) describes how to use node modules, however I suspect there is more to it to make this work.

Can anyone point out what I have done wrong in the electron app?