javascript - Meteor SEO when Template-level subscriptions -


i've wrote web-app using meteor , encounter difficulties seo.

i'm using fork of spiderable (jazeee-meteor-spiderable) meteor , i'm having trouble setting meteor.isreadyforspiderable = true; when subscriptions defined in template , not route.

paginated tables example of case.

i tried wait template.subscriptionready() in template.templatename.oncreated callback, there's nothing concluent.

any idea handling kind of data loading ?

here's code:

template.list.oncreated(function () {     this.autorun(() => {         if (this.subscriptionready()) {             meteor.isreadyforspiderable = true;             console.log('ready');         } else {             meteor.isreadyforspiderable = false;             console.log('not ready yet');         }          console.log(meteor.isreadyforspiderable);     }); }); 

thanks,


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -