-
Notifications
You must be signed in to change notification settings - Fork 173
Description
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:
-
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.
- Enhance the flexibility of the Jinja template (
-
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.
- Enable users to provide their own
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.