KnpMenu icon indicating copy to clipboard operation
KnpMenu copied to clipboard

Add template for boostrap 4 etc.?

Open garak opened this issue 4 years ago • 3 comments

In every project I use this library, I find myself adding a template of mine to render with Bootstrap 4. I think it could nice to provide here templates for major CSS vendors (Bootstrap, Foundation, etc.), just like Symfony is doing for its form themes.

garak avatar Feb 18 '21 09:02 garak

I was just searching for this for the same reason. My suggestion would be to have config in yaml that sets some stuff, I'm trying to write a proper issue

alexseif avatar Apr 01 '22 14:04 alexseif

https://github.com/KnpLabs/KnpMenu/issues/368 what do you thing?

alexseif avatar Apr 01 '22 14:04 alexseif

@alexseif thanks for your effort, but indeed it's not exactly was I was thinking of. I'm afraid that your approach is not really strong, because we don't know if in the future the differences between bootstrap classes will be limited to CSS classes. A template, as mentioned in my original message, would provide better flexibility

garak avatar Apr 01 '22 16:04 garak