Skip to content
Docs Try Aspire

JavaScriptAppResource.withPnpm

Method
📦 Aspire.Hosting.JavaScript v13.2.0-preview.1.26159.1
interface JavaScriptAppResource {
// ... omitted for brevity
withPnpm(
install?: boolean,
installArgs?: string[]): JavaScriptAppResource;
}

Signature

method withPnpm builder
Configures pnpm as the package manager
withPnpm(
install?: boolean,
installArgs?: string[]): JavaScriptAppResource
install boolean optional = True
installArgs string[] optional
JavaScriptAppResource

Defined on

This method is defined on the following type: