scullyio / scully

The Static Site Generator for Angular apps
https://scully.io/
MIT License
2.55k stars 256 forks source link

feature request : add support of Ionic #428

Open ghost opened 4 years ago

ghost commented 4 years ago

🧩 Feature request

Description

In order to make an ionic application work with Scully, we need to "hydrate" the Ionic components. Ionic added a module to be able to support angular universal : https://github.com/ionic-team/ionic/blob/v5.0.5/packages/angular-server/src/ionic-server-module.ts

Currently no ionic components are displayed

A clear and concise description of the problem or missing capability...
jorgeucano commented 4 years ago

We need talk with the Ionic team... I will talk with @mhartington!

davidecampello commented 4 years ago

Hi, any updates on this?

cmer4 commented 4 years ago

Yeah other than hydration recent scullyio beta works smoothly. I have Ionic 5 / Angular 9.1.1 app and scully's getting started tutorial is such a pleasure to go through.

Tried to copy manually ionic's web components into prerendered index.hml:

But did not work quite well;/ since the above are all just modules and by the time they load html is rendered.

https://stackoverflow.com/questions/63178846/ionic-web-components-and-angular-app-and-static-prerendering

sansan88 commented 3 years ago

Any update on this?