feat(ssr): add ionic angular server (#18880)

This commit is contained in:
Adam Bradley
2019-08-06 12:24:42 -05:00
committed by GitHub
parent 713ea8adaa
commit 84e306c1a6
44 changed files with 466 additions and 11616 deletions

View File

@ -8,5 +8,8 @@ if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
document.addEventListener('DOMContentLoaded', () => {
platformBrowserDynamic()
.bootstrapModule(AppModule)
.catch(err => console.error(err));
});