Skip to content

Latest commit

 

History

History
 
 

README.md

name Handling custom web fonts
slug loading-web-fonts
description Learn how to load custom web fonts without compromising performance.
framework Next.js
useCase Documentation
css Tailwind
deployUrl https://vercel.com/new/clone?repository-url=https://github.com/vercel/examples/tree/main/solutions/loading-web-fonts&project-name=loading-web-fonts&repository-name=loading-web-fonts
demoUrl https://solutions-loading-web-fonts.vercel.app

Loading custom web fonts

This example shows how to load custom web fonts without compromising performance.

Demo

https://solutions-loading-web-fonts.vercel.app

How to Use

You can choose from one of the following two methods to use this repository:

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

Clone and Deploy

Execute create-next-app with pnpm to bootstrap the example:

pnpm create next-app --example https://github.com/vercel/examples/tree/main/solutions/loading-web-fonts

Next, run Next.js in development mode:

pnpm dev

Deploy it to the cloud with Vercel (Documentation).