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

This commit is contained in:
seewind 2024-05-10 06:05:35 +08:00 committed by GitHub
parent d767dc5fc7
commit 0238ee96df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 %}
};