javascript - How to get the rendered HTML in NextJS using the after function? - Stack Overflow

admin2025-04-16  2

The after function trigger a callback once a request is finished. Is it possible to use it to get the generated HTML without having to implement a custom server?

I tried it in combination with a middleware but haven’t succeed.

转载请注明原文地址:http://www.anycun.com/QandA/1744763198a87271.html