I want to enable RES with Next.JS. I have tried myself to create a boilerplate but facing many issues, since Next.JS is server side rendering. Is it possible to make a boilerplate to support Next.JS?