Open edudepetris opened 10 years ago
@edudepetris I would recommend you follow the Middleman workflow and load jQuery Mobile via Sprockets by adding it to the vendor manifest. I'm assuming you are using Require JS and that is where the missing define method is coming from. I've never implemented jQuery Mobile with Require so I'm not exactly sure what the pro's and con's of that are.
@edudepetris Also, I apologize for the late reply, not sure how I missed this.
I added jQuery Mobile to my project with Bower and run it
Bower install
I see the jQuery-mobile into the bower_components folder. Then I have usemiddleman build
and it has generated the build folders. After that I runmiddleman server
and when I try to see the app I get the following error in console :Uncaught ReferenceError: define is not defined
in vendor.jsI don't know how to fix this. Can you help me please? Any advice is appreciated for me, Thanks.