stealjs / steal-cordova

Easily make Cordova projects with Steal
https://www.npmjs.com/package/steal-cordova
MIT License
3 stars 2 forks source link

<script src="cordova.js"></script> Missing causing plugins not to work #3

Open jjm340 opened 8 years ago

jjm340 commented 8 years ago

I have a cordova project which I would like to use cordova plugins for; however, they require the inclusion of cordova.js (that's in the same folder as index.html). There is currently not a way to do this that I've found. There may be a work around which I'm exploring right now, but it would be nice if this functionality were included out of the box. Let me know if this isn't clear or more details are needed.

matthewp commented 7 years ago

@jjm340 did you ever figure something out with this?

jjm340 commented 7 years ago

Well, I ended up just embedding the script tag directly in the index.html template which worked fine. I don't know if that's optimal, but it worked. Maybe it was such an obvious solution, that this wasn't really a problem in the first place.