Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

update tailwindcss gem #45

Open
claudiokerekes opened this issue Mar 1, 2023 · 3 comments
Open

update tailwindcss gem #45

claudiokerekes opened this issue Mar 1, 2023 · 3 comments
Assignees

Comments

@claudiokerekes
Copy link

claudiokerekes commented Mar 1, 2023

I was playing with this repo to create a small app for POC purposes.
When I tried to generate a new model using rails g scaffold product the views generated were the ruby basics.
It's assumed tailwindcss gem overrides the scaffold. check here
I run rails g scaffold product .... and the result was this:
image

@JulianPasquale
Copy link
Contributor

Hey @claudiokerekes, thanks for submitting this issue.

Tested it locally and you're right, the basic scaffold views are being generated.

The difference here is that the templates and scaffold generator defined in the tailwindcss-rails gem were added in v0.5.0, but this repo is still using version v0.3.0 - In this PR to be specific rails/tailwindcss-rails#71.

Worth mentioning that our Readme docs don't mention that these scaffolding templates are included (but agree it would be great to have them).

That said, feel free to do more testing and submit a PR doing the upgrade 🙂.

@claudiokerekes
Copy link
Author

good catch.
I will!
Regards

@claudiokerekes
Copy link
Author

image
I will send a PR to update the tailwindcss gem.

@claudiokerekes claudiokerekes changed the title tailwindcss scaffold update tailwindcss gem Mar 2, 2023
@claudiokerekes claudiokerekes self-assigned this Mar 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants