Skip to content
Docs Try Aspire

ViteAppResource.withViteConfig

Method
📦 Aspire.Hosting.JavaScript v13.2.0-preview.1.26159.1
interface ViteAppResource {
// ... omitted for brevity
withViteConfig(configPath: string): ViteAppResource;
}

Signature

method withViteConfig builder
Configures a custom Vite configuration file
withViteConfig(configPath: string): ViteAppResource
configPath string
ViteAppResource

Defined on

This method is defined on the following type: