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.