ServerModule

The ng module for the server.

class ServerModule { }
      
      class ServerModule {
}
    

提供商

提供商
SERVER_RENDER_PROVIDERS
      
      SERVER_RENDER_PROVIDERS
    
SERVER_HTTP_PROVIDERS
      
      SERVER_HTTP_PROVIDERS
    
{ provide: Testability, useValue: null }
      
      { provide: Testability, useValue: null }
    
{ provide: ViewportScroller, useClass: NullViewportScroller }
      
      { provide: ViewportScroller, useClass: NullViewportScroller }