Skip to content
Docs Try Aspire

withYarn

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

Signature

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

Applies to

This function is an extension method on the following types: