Closed mariohmol closed 7 years ago
Hi!
Again awesome module!
I had this working in a previous version and cause of this fix https://github.com/rangle/angular-ssr/issues/45 , i had to migrate to new.
Well.. did all changes based on the demand-express example and everything seems to be working pretty good =)
The only thing that i had to do different is add import 'reflect-metadata'; in server index.ts , unless i was getting this error:
import 'reflect-metadata';
index.ts
@angular/core/bundles/core.umd.js throw 'reflect-metadata shim is required when using class decorators'
And i checked, i had this in main.ts for frontend.
main.ts
Should it be added in the example as well?
made a PR instead of issue
Hi!
Again awesome module!
I had this working in a previous version and cause of this fix https://github.com/rangle/angular-ssr/issues/45 , i had to migrate to new.
Well.. did all changes based on the demand-express example and everything seems to be working pretty good =)
The only thing that i had to do different is add
import 'reflect-metadata';
in serverindex.ts
, unless i was getting this error:And i checked, i had this in
main.ts
for frontend.Should it be added in the example as well?