• Overview
@angular/ssr

provideServerRoutesConfig

function

/** Sets up the necessary providers for configuring server routes. This function accepts an array of server routes and optional configuration options, returning an EnvironmentProviders object that encapsulates the server routes and configuration settings.

provideServerRoutesConfig

/** Sets up the necessary providers for configuring server routes. This function accepts an array of server routes and optional configuration options, returning an EnvironmentProviders object that encapsulates the server routes and configuration settings.

@paramroutesServerRoute[]
  • An array of server routes to be provided.
@paramoptionsServerRoutesConfigOptions | undefined
  • (Optional) An object containing additional configuration options for server routes.
Jump to details