Stencil: How to prerender components?

Created on 12 Jun 2019  路  3Comments  路  Source: ionic-team/stencil

Hi,

I have this HTML code:

<my-cp1></my-cp1>
<my-cp2></my-cp2>

my-cp1 and my-cp2 are components defined in Stencil.

And I would like to prerender it? How could I do?

documentation needed

Most helpful comment

We're trying to do something similar actually. It looks like prerendering might only work if you have an SPA set up with stencil-router? I can get the default index.html (with the js