Skip to content
Docs Try Aspire
Docs Try

withMappedEndpointPort

Method
📦 CommunityToolkit.Aspire.Hosting.JavaScript.Extensions v13.4.0
interface NxAppResource {
// ... omitted for brevity
withMappedEndpointPort(endpointName?: string): JavaScriptAppResource;
}

Signature

method withMappedEndpointPort builder
Maps the endpoint port for the JavaScript app resource to the appropriate command line argument
withMappedEndpointPort(endpointName?: string): JavaScriptAppResource
endpointName string optional
JavaScriptAppResource

Applies to

This method applies to the following types: