trailpack-bootstrap

2.0.0 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.07latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.07
1.0.120
1.0.01

Package Sidebar

Install

npm i trailpack-bootstrap

Weekly Downloads

28

Version

2.0.0

License

MIT

Last publish

Collaborators

  • trails