Replies: 1 comment 4 replies
-
I wanted to have this as well, as Tailwind is my preferred CSS framework. One concern was the maintenance overhead, because I already found it difficult keep current view templates updated whenever I wanted to make changes. However, that seems to have stabilized. I was considering having a separate gem that would provide different variants for different CSS frameworks, but I think Tailwind is vastly more popular than the rest, and it's probably strange to pull in another gem just for generators. Because there is a good amount of logic in the generator that's not dependent on the CSS framework, I was thinking more about If you agree and have time to work on it, I would gladly accept a pull request 🙂 |
Beta Was this translation helpful? Give feedback.
-
Hey Janko
The proposal
If I put in a PR for a different type of form views - for Tailwind - is that something you will consider? Since I'm trying out RodAuth, and I must put in the work anyway, I figure why not copy paste and make a PR out of it, if it's useful to others?
I imagine this will necessitate another rake task:
rails generate rodauth:tailwind:views
Why?
To reduce the hurdle in getting people up and running with RodAuth. When people set up a new app, if tailwind is already there, then we can speedily try out RodAuth with minimal effort. right now without bootstrap, this is now the UI looks:
After they've tried it out, some might want to customize the login forms - they can do so, given they have a place to start.
is this a ridiculous idea?
Beta Was this translation helpful? Give feedback.
All reactions