Skip to content

Tailwind plugins #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed

Tailwind plugins #182

wants to merge 4 commits into from

Conversation

aaripurna
Copy link

@aaripurna aaripurna commented Jul 7, 2022

This PR tries to add support for tailwind UI plugins. So the client only needs to define it in config/tailwind.plugins.yml

# config/tailwind.plugins.yml

# Format
# plugin_name: cdn URI
# Example
daisyui: https://cdn.jsdelivr.net/npm/daisyui@2.18.1/dist/full.css

Then add the plugin inside config/tailwind.config.js

// other code

module.export = {
  // other code
  plugins: [
    // other code
    usePlugin('daisyui')
  ]
}

@dhh
Copy link
Member

dhh commented Jul 15, 2022

Appreciate the effort here, but this is too much custom logic for what this gem is trying to do. We try to keep it to the absolute minimum, and only what's included with TW by default. But feel free to add this as a standalone extension.

@dhh dhh closed this Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants