Loopback and prerender.io

Posted by & filed under AngularJS, LoopbackJS.

While the prerender.io team does not provide explicit directions for getting their service/NodeJS service to work with Loopback, it isn’t hard to do so. At the top of your top level bootstrap JS file, after the “app” variable is declared simply provide the following: app.use(require(‘prerender-node’).set(‘prerenderToken’, ‘<your token here>’)); Then, from the prerender.io service dashboard, add… Read more »