trailpack-bootstrap
v2.0.0
Published
Trailpack to run a bootstrap function when Trails server is ready
Downloads
40
Maintainers
Readme
trailpack-bootstrap
Trailpack to run a bootstrap function when Trails server is ready.
Usage
Load in your trailpack config.
// config/main.js
module.exports = {
// ...
packs: [
require('trailpack-core'),
require('trailpack-bootstrap')
]
}
Config
// config/bootstrap.js
module.exports = function(app){
}