To render a component:
electron server.js --html "<x-app></x-app>" --scripts ./entry-point
Where --html
is the HTML that you want to render and --scripts
is the entry point that will be loaded prior to rendering the HTML. The entry point should contain all your component definitions that you need for the HTML to be rendered.
@lastmjs Currently you'd have to spin it up in a child process. I didn't think about it much, just exploring. You could build a microservice around it.