You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This gem just gives access to the standard Tailwind CSS framework. If you need t
12
12
1. Run `./bin/bundle add tailwindcss-rails`
13
13
2. Run `./bin/rails tailwindcss:install` (on a fresh Rails application)
14
14
15
-
The last option adds the purger compressor to `config/environments/production.rb`. This ensures that when `assets:precompile` is called during deployment that the unused class names are not included in the tailwind output css used by the app. It also adds a `javascript_link_tag "tailwind"` to your `app/views/application.html.erb` file.
15
+
The last option adds the purger compressor to `config/environments/production.rb`. This ensures that when `assets:precompile` is called during deployment that the unused class names are not included in the tailwind output css used by the app. It also adds a `stylesheet_link_tag "tailwind"` to your `app/views/application.html.erb` file.
16
16
17
17
You can do both things yourself, if you've changed the default setup.
0 commit comments