When I upgraded to phoenix 1.7, core components with tailwind CSS are now available. Does anyone have rewritten classes for these components in Bootstrap CSS please? I have little experience, I want to use these components, but at the same time I have no idea how to efficiently convert them to Bootsrap CSS.
I knew I couldn’t convert it 1:1, but I was asking for an alternative.
If anyone has a conversion to Bootsrap and shares, I’d appreciate it.
It shouldn’t be too difficult, just a bit time consuming.
You could start by converting all the tailwind classes to inline styles. With the exception of a few css variables that’s rather straightforward translation. Then you’d have equivalent functionality but no longer need tailwind dependency.
@John_Shelby Were you able to re-write the co_component.ex into Bootstrap or got someone else’s implementation? If yes, could you kindly share the implementation?
The Modal and some form inputs have some of their styles in the app.scss file. You can follow the ReadMe for setup instructions.
If you have any questions let me know.