Reputation: 1187
I have a very small Ionic app I've been working on (just a couple angular routes/views). When I run it using "ionic serve", the app loads in my browser as expected. However, when I upload it using "ionic upload" and view it in the Ionic View app, it appears as though none of my javascript works, or my routes are not working.
How can I debug this issue? Are there build tools to detect errors or anything along those lines?
Upvotes: 1
Views: 1808
Reputation: 3
I had the same issue recently. The problem was that I stored my Ionic views NOT in /templates
folder.
Please, check, maybe my answer will be useful for you.
Upvotes: 0
Reputation: 1476
As @Keval says if you're running Android you can debug on-the-fly using Chrome
You can also do this on iOS via Safari http://developer.telerik.com/featured/a-concise-guide-to-remote-debugging-on-ios-android-and-windows-phone/
Upvotes: 5