Using the Sample Code
This book has a small amount of sample code associated with it. It’s delivered as a set of static HTML files that read a static CSS file. The CSS file was generated using the Tailwind CLI, and you can install that CLI locally if you want to experiment.
You can experiment with the sample code as is using the stand-alone version of the Tailwind CLI, which doesn’t require Node.js to run. This may not be the mechanism you use on a full front-end app, so take a look at the next section as well.
To get started with the stand-alone Tailwind CLI, download the latest release for your operating system at https://github.com/tailwindlabs/tailwindcss/releases and place the file at the top level of book’s code directory, adjacent to the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access