Closed SertyDev closed 6 years ago
Hey, im sorry, I don't have experience with cordova.
Just from a quick google search, you might need to make sure the library is included within your www folder!?
Guess you have propably found that yourself already.
What does your require call / usage look like? What error messages do you get when trying to require it?
Hello,
Thank you very much for your response.
At the end, because I´m making this to learn and have some fun, I decided to create my first custom API. It´s not going to be as good as LeagueJS ofcourse but I was excited to do it.
But this looks pretty relevant : "you might need to make sure the library is included within your www folder"
The error was just "module not found", I think it can be done but with a little more knowledge of node modules.
Again thank you very much!
Hello, I am using Cordova and after looking for two days and before asking in some Cordova forum I wanted to know if it´s possible to use LeagueJS in this kind of technology. I installed it (so it is in node_modules) but I can´t find the module in the JS using require() (cordova.require() in my case).
Thank you.