Since Next15, a guide has been posted to Next's own documentation. You can find it here: https://nextjs.org/docs/app/building-your-application/configuring/progressive-web-apps