banner image

How to use Google Fonts with Tailwind CSS in Next JS 13+

 Today we will discuss about "How we can use google fonts with Tailwind Css in Next JS 13 and later"








First You have to Add imported font Url in globals.css in the src/app directory.




Then Extend modules.exports in the tailwind.config.js file











Finally, you can use this font anywhere e.g.




Thanks for reading. thanks... 





How to use Google Fonts with Tailwind CSS in Next JS 13+ How to use Google Fonts with Tailwind CSS in Next JS 13+ Reviewed by Muhammad Saroar on January 03, 2024 Rating: 5

No comments:

Powered by Blogger.