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.gitThen, install the dependencies:
cd custom-fonts-in-tailwind
npm installFinally, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.