Edit Page

assets/js/

This is where you put client-side JavaScript files that you want to be statically hosted by your app. Sails puts a few in there for making communication via socket.io easier.

Want to see for yourself?

An example of this directory can be found in our sample app repo, here.

Anatomy of a Sails App