trailsjs / trailpack-bootstrap

:package: bootstrap Trailpack (run a custom startup function in Trails)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

:package: bootstrap Trailpack (run a custom startup function in Trails)

License:MIT License


Languages

Language:JavaScript 100.0%