Home

Awesome

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){

}

License

MIT