sails-plugin

0.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i sails-plugin

Weekly Downloads

3

Version

0.0.2

License

MIT

Last publish

Collaborators

  • pixtron