Closed geri777 closed 4 years ago
Using the components is fully optional. The template is only showing examples of usage of our components in the component based approach.
As you said the main disadvantage of this approach is for someone who knows bootstrap CSS already and has to learn our components, though it is not so hard because component names often are very similar to bootstrap classes.
In the case of stateful and complex components, it is natural to use components, but I understand that your concern is about wrapper components, which have no additional logic. (like CRow)
Advantages of this approach in simple components:
Thank you very much for your helpful explanation. I think I will use the native HTML whenever possible, because it's easier to see what's happening under the hood.
With Bootstrap: html+css = result
With CoreUI elements: Celement+[HTML generated]+[CSS fixes maybe]+[JS fixes maybe] = display
But who knows - I consider myself as a beginner with this great UI - so the way of working with it might change as time goes by. Thank you very much for this awesome ui/template.
I have already used earlier versions of CoreUI. Now I come back and see that you have replaced nearly all HTML Tags with directives like CRow, CCol, CCard, CTable, CTableWrapper, etc.
To a certain degree I understand this abstraction. But for anyone not dedicating his life to CoreUi so much like you guys this is just a pain.
For example:
INPUT:
OUTPUT:
So instead of using some CSS classes which are common anyway (Bootstrap 4) I have to learn some CoreUI Tag Syntax. Maybe I just don't get the point. It would be easier for me to become familiar with this syntax if I understood its idea / purpose.