Skip to content

Commit 161febc

Browse files
authored
doc: Add to v3-v4 upgrade guide about custom css files
1 parent 5a9dd5e commit 161febc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,17 @@ With some additional manual work the upstream upgrade tool will update your appl
221221
222222
(Just add an additional `.` to all the paths referenced)
223223
224+
**Update** references to any existing css files imported in the `app/assets/stylesheets/application.tailwind.css`
225+
```diff
226+
@import "tailwindcss/components";
227+
@import "tailwindcss/utilities";
228+
229+
-@import "pagy.css";
230+
-@import "new_case.css";
231+
+@import "../stylesheets/pagy.css";
232+
+@import "../stylesheets/new_case.css";
233+
```
234+
224235
**Run** the upstream upgrader as instructed above.
225236
226237
Then, once you've run that successfully, clean up:

0 commit comments

Comments
 (0)