gruntjs - .jshintrc with Gulp, Jhipster -
when want set "underscore" (i used use 'grunt') , put in .jshintrc.
"globals": { "_": false, now version 3.5.1 of jhipster use gulp , not know how configure because there no file .jshintrc. ans gives me error
angular.js:13550 referenceerror: _ not defined can me. thank you.
jhipster replaced jshint eslint in this change. because of this, should add globals section file .eslintrc.json same in .jshintrc. (similar issue)
based on referenceerror angular, looks don't have underscore dependency in index.html. run bower install underscore --save download , install underscore (this adds bower.json), run gulp inject:dep inject dependencies index.html automatically.
Comments
Post a Comment