Cant find Jquery in Ionic app
Closed this issue · 1 comments
lloydrhodes87 commented
Im trying to integrate with an ionic 3 app and im having a problem with timekit finding jquery.
ERROR ReferenceError: $ is not defined
at the moment im using timekit booking via npm and jquery as a script tag in the html file...
I've been looking into a solution for importing jqery with npm but not sure how a node module will be able to find the $ variable if i just import it into the component.
What im doing with the script tag is working on serve in the browser but the error comes from using a device.
Any ideas?
lloydrhodes87 commented
my bad i forgot to add defer to the script tag!