
Add Parasails to an empty SailsJS app
In the last post we added Bootstrap via grunt, next up we’ll add Parasails and it’s dependencies – this’ll fix the ‘Uncaught ReferenceError: parasails is not defined’ you’ll get in the browser console.
Sails actually provides a nice generator for accomplishing this so in the terminal just run
$ sails generate parasails
All we need to do then is include it in the pipeline and we’re away however you need to include them in the correct order…
'dependencies/cloud.js', 'dependencies/parasails.js',
That’s them loaded however you’ll still get an error about _.global not being loaded. We need to include Lodash and Vue to fix all the errors but we’ll do that in the next post.