https://github.com/marcin-piechaczek/nextjs-playground.git
Next.js is a minimalistic JAMstack framework; most of it is invisible to you (the developer). However, it is extensible when you need to customize and bring other third-party libraries.
โ๏ธ Create a new .env file based on .env.sample, and change the value of MAGENTO_URL to point to your Magento instance.
๐ Install dependencies by running npm install or yarn install
๐ Run npm run dev or yarn dev to start the application on development mode, and visit https://localhost:3000
โ๏ธ Run npm run build or yarn build
๐ Run npm run start or yarn start, and visit https://localhost:3000