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: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# `tailwindcss-rails` Changelog
2
2
3
+
## Unreleased
4
+
5
+
### Added
6
+
7
+
* Added default `app/assets/builds` path to Rails asset paths in the engine initializer. This ensures generated CSS in builds folder is served without manual configuration.
*[Asset path configuration with Propshaft](#asset-path-configuration-with-propshaft)
33
34
-[License](#license)
34
35
35
36
<!-- tocstop -->
@@ -484,6 +485,12 @@ The inline version also works:
484
485
<section class="bg-[url('image.svg')]">Has the image as it's background</section>
485
486
```
486
487
488
+
### Asset path configuration with Propshaft
489
+
490
+
When using Propshaft as your asset pipeline, the gem automatically adds `app/assets/builds` to your Rails asset paths. This ensures that Tailwind CSS output files are served correctly without requiring manual configuration in your application.
491
+
492
+
If you're manually configuring asset paths with Propshaft, be aware that this is handled for you by the gem's engine initializer.
493
+
487
494
## License
488
495
489
496
Tailwind for Rails is released under the [MIT License](https://opensource.org/licenses/MIT).
0 commit comments