Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uncaught ReferenceError: ionic is not defined

The ionic app showing Uncaught ReferenceError: ionic is not defined log when open in browser for testing and show blank in mobile device.Have any solution to solve this problem?.

like image 531
baldraider Avatar asked Jun 25 '15 21:06

baldraider


1 Answers

After adding ionic-platform-web-client and push-plugin. Adding Ionic.io(); before i declared the ionic.push() solved the problem for me.

like image 161
Sunil Lama Avatar answered Nov 13 '22 01:11

Sunil Lama