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
+5-1
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,16 @@ This gem gives access to the standard Tailwind CSS framework configured for Rail
6
6
7
7
This is extraction originally created inside the [tailwindcss-rails](https://github.com/rails/tailwindcss-rails) gem.
8
8
9
+
Gem overrides default Rails scaffold generators in favour of Tailwind
10
+
designed templates by Adam Wathan and the Tailwind team.
11
+
9
12
10
13
## Installation
11
14
12
15
1. Run `./bin/bundle add tailwindcss-rails-webpacker`
13
16
2. Run `./bin/rails tailwindcss:install`
14
17
18
+
15
19
## Purging in production
16
20
17
21
The Tailwind CSS framework starts out as a massive file, which gives you all the combinations of utility classes for development, but you wouldn't want to ship all those unused classes in production.
@@ -20,5 +24,5 @@ This gem will automatically purge those unused classes in production.
20
24
21
25
## License
22
26
23
-
Tailwind for Rails is released under the [MIT License](https://opensource.org/licenses/MIT).
27
+
Tailwind for Rails Webpacker is released under the [MIT License](https://opensource.org/licenses/MIT).
24
28
Tailwind CSS is released under the [MIT License](https://opensource.org/licenses/MIT).
0 commit comments