bootstrap
bootstrap
Bootstraps the Vendure server. This is the entry point to the application.
Example
import { bootstrap } from '@vendure/core';
import { config } from './vendure-config';
bootstrap(config).catch(err => {
console.log(err);
});
Signature
function bootstrap(userConfig: Partial<VendureConfig>): Promise<INestApplication>
Parameters
userConfig
parameter
type:
Partial<VendureConfig>