Skip to content
Closed
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
Prev Previous commit
Next Next commit
Add documentation.
  • Loading branch information
delynn committed Jan 27, 2023
commit 885b4c996567f3bf8c4f61e8019c7acca208f884
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ If you want unminified assets, you can pass a `debug` argument to the rake task,
Note that you can combine task options, e.g. `rails tailwindcss:watch[debug,poll]`.


### Multiple CSS files

If you have a reason to break up your CSS into multiple CSS files (for example application.tailwind.css and admin.tailwind.css), as long as your files match the `*.tailwind.css` convention, then the build and watch tasks will create build files with the `tailwind.` removed.


### Custom inputs or outputs

If you need to use a custom input or output file, you can run `bundle exec tailwindcss` to access the platform-specific executable, and give it your own build options.
Expand Down