Video: WordPress theme development with Tailwind CSS and Vite · vanrossum.dev    

       vanrossum.dev 

 Article

Video: WordPress theme development with Tailwind CSS and Vite
=============================================================

 ![](https://vanrossum.dev/images/jeffrey-portrait.webp) By Jeffrey van Rossum

  vanrossum.dev  

  [      vanrossum.dev ](https://vanrossum.dev)                      

  [ ← Writing ](https://vanrossum.dev/posts)   [ ← Writing ](https://vanrossum.dev/posts) [ About TailPress ](#about-tailpress) [ TailPress v5 and Vite ](#tailpress-v5-and-vite) [ Improved installer ](#improved-installer) [ New build / release tooling ](#new-build-release-tooling) [ New website and documentation ](#new-website-and-documentation) [ In closing ](#in-closing) 

TailPress version 5 is out, and it's finally bringing you support for Vite, which means faster compiling and hot module reloading (even in the editor).

About TailPress
---------------

In [2020](https://vanrossum.dev/21-a-tailwind-boilerplate-for-wordpress), I released a WordPress boilerplate theme to make theme development with Tailwind CSS easier. I called it TailPress. Back then, and until very recently (yesterday), the boilerplate used Laravel Mix for compiling.

TailPress v5 and Vite
---------------------

Yesterday, with the release of TailPress version 5, by popular demand, I added support for Vite. This brings super-fast compiling, hot module reloading (HMR), and I even put extra effort into making this all work within the block editor (also known as Gutenberg).

If you'd like to continue using Laravel Mix, check out [this guide](https://tailpress.io/docs/5.0/laravel-mix).

Improved installer
------------------

In addition to that, the TailPress installer was updated to be a bit more user-friendly, taking a question-based approach.

New build / release tooling
---------------------------

The new version of TailPress includes a `release.yml` file, which makes it super easy to let a GitHub action build your theme and ZIP it up. It will install and optimize the Composer dependencies, compile your assets, and remove files that are not needed in production, resulting in a production-ready ZIP file which is added as a release asset.

If you're not a GitHub action user, with the new TailPress CLI, you can even build a ZIP file by running the following command:

```bash
./vendor/bin/tailpress-cli release  

```

New website and documentation
-----------------------------

Because TailPress is now a bit more feature-rich, I decided it was time to create documentation and give the website a fresh coat of paint. Check it out at [tailpress.io](https://tailpress.io).

In closing
----------

This is by far the biggest update TailPress has had since its initial launch. I think the project is modernized, and I even have some fresh ideas to continue development on it.

If you like TailPress, consider [starring](https://github.com/tailpress/tailpress) the repo on GitHub (or maybe even contributing). Also, let me know your ideas and thoughts on [X](https://x.com/jeffreyrossum) or at the [Discussion board](https://github.com/tailpress/tailpress/discussions).

  ![](https://vanrossum.dev/images/jeffrey-portrait.webp) Jeffrey van Rossum [@jeffreyrossum](https://x.com/jeffreyrossum) 

 share [𝕏](https://twitter.com/intent/tweet?url=https%3A%2F%2Fvanrossum.dev%2Fposts%2Fvideo-wordpress-theme-development-with-tailwind-css-and-vite&text=Video%3A+WordPress+theme+development+with+Tailwind+CSS+and+Vite) [WhatsApp](https://wa.me/?text=Video%3A+WordPress+theme+development+with+Tailwind+CSS+and+Vite+https%3A%2F%2Fvanrossum.dev%2Fposts%2Fvideo-wordpress-theme-development-with-tailwind-css-and-vite) [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fvanrossum.dev%2Fposts%2Fvideo-wordpress-theme-development-with-tailwind-css-and-vite) 

   © 2026 Jeffrey van Rossum 

  vanrossum.dev vanrossum.dev
