javascript - Sails.js 0.10 generators -
the upcoming sails.js 0.10 features custom generators. (at time of writing @ rc4)
there's migration page on sails github describing how wonderful generators are, not how go installing them own application.
a few interesting custom generators start pop up:
the first 1 available on npm. matter of npm install
, generator available in app right away.
i wanted try out second 1 replace grunt gulp, couldn't install generator.
can explain how install custom generator , hook sails.js app?
you can install sails-generator other npm package:
npm install sails-generate-auth
the problem sails-generate-gulp-bower hasn't been released npm yet. can trick npm using following url install latest version of anyway.
npm install https://github.com/paulavery/sails-generate-gulp-bower/archive/master.tar.gz --save
but keep in mind author has reason why didn't release it.
Comments
Post a Comment