You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app.server.module.ts 531B

12345678910111213141516171819
  1. import { NgModule } from '@angular/core';
  2. import { ServerModule } from '@angular/platform-server';
  3. import { ModuleMapLoaderModule } from '@nguniversal/module-map-ngfactory-loader';
  4. import { AppModule } from '../../frontend/src/app/app.module';
  5. import { AppComponent } from '../../frontend/src/app/app.component';
  6. @NgModule({
  7. imports: [
  8. AppModule,
  9. ServerModule,
  10. ModuleMapLoaderModule
  11. ],
  12. providers: [
  13. // Add universal-only providers here
  14. ],
  15. bootstrap: [ AppComponent ],
  16. })
  17. export class AppServerModule {}