Explorar el Código

#3185 fix tailwind.config.js: support corePlugins, important, prefix, separator (#3260)

seewind hace 1 año
padre
commit
0238ee96df
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      reflex/.templates/jinja/web/tailwind.config.js.jinja2

+ 12 - 0
reflex/.templates/jinja/web/tailwind.config.js.jinja2

@@ -17,4 +17,16 @@ module.exports = {
 	{% if darkMode is defined %}
 	darkMode: {{darkMode|json_dumps}},
 	{% endif %}
+	{% if corePlugins is defined %}
+	corePlugins: {{corePlugins|json_dumps}},
+	{% endif %}
+	{% if important is defined %}
+	important: {{important|json_dumps}},
+	{% endif %}
+	{% if prefix is defined %}
+	prefix: {{prefix|json_dumps}},
+	{% endif %}
+	{% if separator is defined %}
+	separator: {{separator|json_dumps}},
+	{% endif %}
 };