This is a POC of Next.js that can be deployed and works on Commerce Cloud Managed Runtime with a custom script to deploy the code to Managed Runtime.
Edit package.json
and set the package name to the MRT project name where you want to deploy this to
Run npm run build
Run npm run deploy -- --username='<USERNAME>' --apiKey='<API KEY>' --message '¯\_(ツ)_/¯'
abc...