javascript - Keep Meteor Template Rendered After Routing -


i want allow meteor app work if user goes offline. of right using iron-router router. app works great until user goes off line , tries navigate around app. current page fine routes blank. there way render of routes on app start-up , continue hold of template info if application go offline. know can achieve use of native app i.e using cordova. there convenient way without creating native application?

if want app available client though it's not connected internet try appcache. puts content in browsers application cache, used there's no connection server. routes work if there's no connectivity.

meteor add appcache 

together grounddb (for offline collections) can make application functional if you're offline.

meteor add ground:db 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -