Skip to content

Commit 2b2a5ec

Browse files
authored
Update README.md
1 parent dcd0973 commit 2b2a5ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ The `tailwindcss:build` is automatically attached to `assets:precompile`, so bef
3030

3131
Tailwind uses modern CSS features that are not recognized by the `sassc-rails` extension that was included by default in the Gemfile for Rails 6. In order to avoid any errors like `SassC::SyntaxError`, you must remove that gem from your Gemfile.
3232

33+
## Class names must be spelled out
34+
35+
For Tailwind to work, your class names need to be spelled out. They can't be programmatically composed. So no "text-gray-#{grade}", only "text-gray-500".
3336

3437
## Troubleshooting
3538

0 commit comments

Comments
 (0)