Use tailwindcss in custom blocks?

[ad_1]

Hey, so I just recently started custom WordPress development and learning custom blocks. But I am a bit confused about how to go about using tailwindcss in my custom blocks? Let’s say I am building 8-10 blocks for my page, do I install tailwindcss and bundle for each block individually? Is there anyway to maybe have one global theme with tailwindcss which all my blocks can use?

It might be something obvious just having a hard time wrapping my head around WordPress workflow. Any help is appreciated!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer