tailwind.config.js.jinja2 356 B

1234567891011121314151617
  1. /** @type {import('tailwindcss').Config} */
  2. module.exports = {
  3. content: {{content|json_dumps}},
  4. theme: {{theme|json_dumps}},
  5. plugins: [
  6. {% for plugin in plugins %}
  7. require({{plugin|json_dumps}}),
  8. {% endfor %}
  9. ],
  10. {% if presets is defined %}
  11. presets: [
  12. {% for preset in presets %}
  13. require({{preset|json_dumps}})
  14. {% endfor %}
  15. ]
  16. {% endif %}
  17. };