Skip to content

Docs: Add note about view_component #107

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 1 commit into from

Conversation

dixpac
Copy link
Contributor

@dixpac dixpac commented Dec 21, 2021

This is the way how to generate view_component successfully atm.


Current state here is that I've opened the PR to view_component to
support the tailwindcss-rails generators.
But, in order to merge that PR they are in the process of introducing the appraisal gem, so they
can test against multiple dependecy versions.

Until that is done, this is the way how to generate a component.

This is the way how to generate `view_component` successfully atm.
---------------

Current state here is that I've opened the PR to `view_component` to
support the `tailwindcss-rails` generators. But, in order to merge that
PR they are in the process of introducing the `appraisal` gem, so they
can test against multiple dependecy versions.
Until that is done, this is the way how to generate a component.
@dixpac
Copy link
Contributor Author

dixpac commented Jan 5, 2022

This is no longer necessary since view_component now works with tailwindcss-rails ViewComponent/view_component#1098

FYI @dhh

@dixpac dixpac closed this Jan 5, 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.

1 participant