Tailwind CSS
Overview
Tailwind CSS is a popular utility-first CSS framework. Tuono support begins with Tailwind CSS v4.
You can start using it right away with the with-tailwind template:
Installation
-
Install Tailwind CSS via your Node.js preferred package manager.
-
Install also the
@tailwindcss/vitevite plugin asdevDependency -
Add the Tailwind CSS vite plugin to
tuono.config.ts, as seen in the example below: -
Add the Tailwind CSS directives to
src/styles/global.css.
Usage
Tailwind CSS is ready to go! You can now start using utility classes anywhere in your app.