sails-plugin
v0.0.2
Published
A plugin loader for sails.js
Downloads
1
Readme
sails-plugin
A plugin loader for sails.js. This module only works if you lift sails programaticaly.
It won't work with sails lift
on the command line.
Usage
npm install --save sails-plugin
Replace the lines sails.lift
in app.js
with these lines:
var options = rc('sails');
options.moduleLoaderOverride = require('sails-plugin');
// Start server
sails.lift(options);
TODO
See open issues