A minimal boilerplate project for using TailwindCSS with Vite.
Use your favorite package manager to run the dev script to run the server (e.g., yarn dev).
To build a static site for production, run the build script. You can then run the preview script to run the production build locally, though this is not recommended for deployment. See the Vite docs for details.
Tailwind purges all unused CSS classes by default. This project only scans HTML and {{#if typescript}} TypeScript {{else}} JavaScript {{/if}} files in the root directory. You can edit tailwind.config.cjs to change this behavior. See the Tailwind configuration docs for more info.