Cordova multiple Html files -


in cordova app index.html redirects main.html when ondeviceready event. can't use plug-ins in main.html. need enable in cordova main.html work?

avoid using multiple html files, keep cordova application "on same page" having other content in other html files or template fragment files, , loading these in via ajax / javascript div in index.html "cur. might want consider templating engine such handlebars, depending on javascript framework(s) using build app other options may more attractive. example project on github have uses approach can found here.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -