craftcms nextjs live preview

I made a gist for the apollo.js config