0.0.2 • Published 9 years ago

sails-plugin v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

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