Generate the frontend part of a new Sails app.
JavaScript CSS
Latest commit 7f64931 Jan 4, 2017 @rachaelshaw rachaelshaw committed on GitHub Update

sails generate frontend

Default generator for frontend code files in new Sails projects. Creates the default contents of the assets/ folder when you run sails new on the command-line. Also creates a subset of the boilerplate Grunt task files (in tasks/); specifically, the files make up the conventional asset pipeline.

You can read more about how all that works in docs/.

Bugs   NPM version

To report a bug, click here.

This is a built-in module in the Sails command-line tool. It is installed automatically when you run npm install sails -g.

Getting help

Read the docs on generators, and see the support section of our website for more resources.


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

NPM package info


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