Skip to content

doc: Add to v3-v4 upgrade guide about custom css files #486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 3, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,17 @@ With some additional manual work the upstream upgrade tool will update your appl

(Just add an additional `.` to all the paths referenced)

**Update** references to any existing css files imported in the `app/assets/stylesheets/application.tailwind.css`
```diff
@import "tailwindcss/components";
@import "tailwindcss/utilities";

-@import "pagy.css";
-@import "new_case.css";
+@import "../stylesheets/pagy.css";
+@import "../stylesheets/new_case.css";
```

**Run** the upstream upgrader as instructed above.

Then, once you've run that successfully, clean up:
Expand Down