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
When using simple_form-tailwind, changes to the simple_form_tailwind.rb file behave inconsistently. Sometimes they're applied, and other times they’re ignored, creating unpredictable behavior.
Solution
Adding the following line to the content array in tailwind.config.js fixes the issue: "./config/initializers/*.rb",
Updated content example:
content: ["./public/*.html","./app/helpers/**/*.rb","./app/javascript/**/*.js","./app/views/**/*.{erb,haml,html,slim}","./config/initializers/*.rb",// Fix for this issue],
Suggestion
Include this path in the default configuration or document this requirement to prevent similar issues.
Let me know if you need more details!
The text was updated successfully, but these errors were encountered:
Description
When using simple_form-tailwind, changes to the simple_form_tailwind.rb file behave inconsistently. Sometimes they're applied, and other times they’re ignored, creating unpredictable behavior.
Solution
Adding the following line to the content array in tailwind.config.js fixes the issue:
"./config/initializers/*.rb",
Updated content example:
Suggestion
Include this path in the default configuration or document this requirement to prevent similar issues.
Let me know if you need more details!
The text was updated successfully, but these errors were encountered: