Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 438 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 438 Bytes

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