@mwcp/boot
v21.5.1
Published
midway.js boot
Downloads
471
Readme
Midway.js Boot Component
Various midway.js components integrated
Note
ESM build only, requires @midwayjs >= 3.12
and set "type": "module"
in packages.json
Install
npm i @mwcp/boot
Config
Update your project src/configuration.ts
import * as boot from '@mwcp/boot'
@Configuration({
importConfigs: [join(__dirname, 'config')],
imports: [
boot,
// others...
],
})
export class ContainerConfiguration implements ILifeCycle { }