Saturday, September 22, 2018

How to make a node js app work with sails js?

A node JS app that essentially has @require flags to define and load dependencies.
Sails JS is a framework built on top of Node JS. The dependencies are defined in package.json and the same package names defined in Sails JS can be pulled into the package.json of sails and place the html files in the view folder and thats it pretty much. before running, do an npm install, so that the dependencies are installed.

No comments:

Post a Comment