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
nil->show_tailwind_warning(igniter,"no version found")
112
+
false->show_tailwind_warning(igniter,version)
113
+
end
114
+
end
115
+
116
+
defpversion_compatible?(version)do
117
+
[major|_rest]=String.split(version,".")
118
+
{major_num,_remainder}=Integer.parse(major)
119
+
major_num>=4
120
+
end
121
+
122
+
defpshow_tailwind_warning(igniter,version_info)do
123
+
message=
124
+
"No compatible Tailwind version found in config.exs (#{version_info}). Backpex requires Tailwind CSS >= 4.x.x. Do you want to continue anyway? Installation may not work correctly."
0 commit comments