Hi,I got the solution of the issue, just change the use js name and its reference, like in my case js name was caseStudy.js so I changed it to caseStudyJS.js and also its reference and it worked.
Hi Rushikesavareddy, Did you get any solution to the mentioned issue "use is not defined" ?Can this be corrected by adding any dependency as we resolved the "CQ is not defined" error by adding cq:widget as dependency?