sails-generate-micro-app

0.4.2 • Public • Published

sails-generate-micro-app

Generate a micro-app hook that has a mini-sails app to inject into another Sails App with sails-util-micro-apps

Installation

$ npm install -g sails-generate-micro-app

Then merge the following into your .sailsrc file in the home dir:

{
  "modules": {
    "micro-app": "sails-generate-micro-app"
  }
}

Usage

$ sails generate micro-app <micro-app-name>

The generated dir, structure and files is an installable Sails hook that has a micro-app that can be injected into any Sails App or even another micro-app. See Sails-Util-Micro-App for more information.

Author

Emmanuel Mahuni

Contributing

Please observe the guidelines and conventions laid out in the Sails project contribution guide when opening issues or submitting pull requests.

NPM

License

This micro-app generator is available under the MIT license.

The Sails framework is free and open-source under the MIT License.

image_squidhome@2x.png

Package Sidebar

Install

npm i sails-generate-micro-app

Weekly Downloads

2

Version

0.4.2

License

MIT

Unpacked Size

102 kB

Total Files

44

Last publish

Collaborators

  • emahuni