September 2022
Intermediate to advanced
410 pages
10h 7m
English
Our CSS setup is deliberately minimal. We are just using Tailwind to build up a CSS file. We aren’t using Sass or PostCSS, which are two popular CSS toolkits that allow for further CSS processing. For more information on what those tools do, see Chapter 7, Bundling. For more detailed information in installing Tailwind see the Tailwind documentation[39] and the book Modern CSS with Tailwind.[40]
We already walked through our CSS setup in Chapter 1, Getting Started with Client-Side Rails, but let’s look at it again.
Our main Tailwind loading and CSS file is at app/assets/stylesheets/application.tailwind.css:
| | @tailwind base; |
| | @tailwind components; ... |
Read now
Unlock full access