1.0.0 • Published 6 years ago
@fabrix/spool-bootstrap v1.0.0
spool-bootstrap
Spool to run a bootstrap function when Fabrix server is ready.
Usage
Load in your spool config.
// config/main.ts
export const main = {
// ...
spools: [
require('@fabrix/spool-bootstrap').BootstrapSpool
]
}
Config
// config/bootstrap.ts
export const bootstrap = function(app){
}
License
1.0.0
6 years ago