This is a demo project for the article How to use custom fonts in Tailwind CSS on LogRocket's blog.
Visit my blog, Timonwa's Notes, for more awesome technical content like articles, code snippets, tech goodies, community projects and more.
First, clone the repo:
git clone https://github.com/Timonwa/custom-fonts-in-tailwind.git
Then, install the dependencies:
cd custom-fonts-in-tailwind
npm install
Finally, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.