Skip to content

Enhance Tailwind CSS Plugin Support  #120

@anubrag

Description

@anubrag

Currently, integrating certain Tailwind CSS plugins into Nextpy projects presents a significant challenge. This is primarily due to the limited customization options available within the tailwind.config.js setup. This limitation hinders the ability to fully exploit the capabilities of the Tailwind CSS ecosystem, consequently restricting design and functionality enhancements in Nextpy projects.

Specific Challenges:

  • Difficulty in integrating Tailwind CSS plugins that require more complex setup than a simple require in tailwind.config.js.
  • The current setup within the Nextpy framework offers limited flexibility, particularly in terms of customizing the Tailwind CSS configuration.

Suggested Solutions:

  1. Template Customization:

    • Enhance the flexibility of the Jinja template (tailwind.config.js.jinja2) used in Nextpy.
    • The enhancement should aim to accommodate a variety of plugin integration scenarios, allowing for more complex plugin configurations.
  2. Custom Configuration Support:

    • Enable users to provide their own tailwind.config.js file.
    • Alternatively, allow the use of a custom Jinja template for tailwind.css.
    • This would grant users greater control and versatility in terms of plugin integration and configuration.

Expected Outcome:
Implementing these solutions will significantly improve the ease of integrating diverse Tailwind CSS plugins into Nextpy projects. This enhancement is anticipated to unlock more design and functionality options, aligning Nextpy more closely with the broader Tailwind CSS ecosystem and community practices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions