Read the step-by-step guide here: "https://blog.logrocket.com/next-js-font-optimization/"
You can download or clone this project by running this command from your terminal:
git clone https://github.com/Ibaslogic/Next.js-fonts-optimization
Then:
cd Next.js-fonts-optimization
npm install
# or
yarn
npm run dev
# or
yarn dev
You should see the app in your browser address bar at http://localhost:3000