Using CoffeeScript in a Sails App
Sails supports using CoffeeScript to write your custom app code (like actions and models). You can enable this support in three steps:
npm install coffee-script in your app folder.
- Add the following line at the top of your app's
- Start your app with
node app.js instead of