/**
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
function provideServerRoutesConfig( routes: ServerRoute[], options?: ServerRoutesConfigOptions | undefined): EnvironmentProviders;
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.
@paramoptions
ServerRoutesConfigOptions | undefined
- (Optional) An object containing additional configuration options for server routes.
@returns
EnvironmentProviders
Jump to details