• Overview
@angular/ssr

provideServerRoutesConfig

function
Deprecated

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.

API

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.

@deprecated

use provideServerRouting. This will be removed in version 20.

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