Skip to main content

Bootstrap

Bootstraps the Vendure server. This is the entry point to the application.

Example

Ts

Passing additional options

Since v2.2.0, you can pass additional options to the NestJs application via the options parameter. For example, to integrate with the Nest Devtools, you need to pass the snapshot option:

Ts

Ignoring compatibility errors for plugins

Since v3.1.0, you can ignore compatibility errors for specific plugins by passing the ignoreCompatibilityErrorsForPlugins option.

This should be used with caution, only if you are sure that the plugin will still work as expected with the current version of Vendure.

Example

Ts
Signature

Parameters

userConfig

parameterPartial<VendureConfig>

options

Additional options that can be used to configure the bootstrap process of the Vendure server.

Signature

nestApplicationOptions

propertyNestApplicationOptions

These options get passed directly to the NestFactory.create() method.

ignoreCompatibilityErrorsForPlugins

propertyArray<DynamicModule | Type<any>>v3.1.0
Default:[]

By default, if a plugin specifies a compatibility range which does not include the current Vendure version, the bootstrap process will fail. This option allows you to ignore compatibility errors for specific plugins.

This setting should be used with caution, only if you are sure that the plugin will still work as expected with the current version of Vendure.

Example

Ts
Was this chapter helpful?
Report Issue
Edited Feb 12, 2026ยทEdit this page