How to install Tailwind CSS and daisyUI in a WordPress project
Install WordPress according to theOfficial WordPress guide.
In this guide, we will use theWindPressplugin to install Tailwind CSS and daisyUI in a WordPress project.
Navigate to thePlugins → Add New Plugin
sub-menu.
Search for the WordPress plugin by typingWindPress
in the search bar.
Click theInstall Now
button to install the WordPress plugin.
Once the plugin is installed, click theActivate
button to activate the WindPress plugin.
Navigate to the WindPress dashboard by clicking theWindPress
menu item in the WordPress admin sidebar. Then, click themain.css
file on the explorer sidebar to open the file editor.
Add daisyUI at the end of code in themain.css
file
@plugin "daisyui";
Now you can use daisyUI class names!