sails new <appName> creates a new Sails project in a folder called appName.
--no-linkerDisable automatic asset linking in your view and static HTML files (the relevant grunt tasks will not be created)
--no-frontendDisable the generation of the
assetsfolder and files. Views will be created with hardcopied linked resources off of sailsjs.org.
--template=[template language]Use a different template language than the default (e.g.
jade). Requires that a views generator for that language (e.g.
sails-generate-views-jade) be installed in your global node path (e.g.
sails newis really just a special generator which runs
sails-generate-new. In other words, running
sails new foois an alias for running
sails generate new foo, and like any Sails generator, the actual generator module which gets run can be overridden in your global
Is something missing?
If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails-docs repo. Once we merge it, the changes will be reflected on the website the next time it is deployed.
- Blueprint API
- Command Line Interface
- Response (`res`)
- Waterline (ORM)
- Resourceful PubSub
- Socket Client
We wrote a book!
Get early access to the book
with promotion code: mcneildoc