Angular Material 2 with Bootstrap 4 Mesh

I use Angular 4 and installed Angular Material 2 as I like how the components look.

So now I have all the components and you want to create a layout.

I know there an Angular Flex layout for it, but to be honest, I don't know Flex, so I was thinking of using Bootstrap 4 Grid to sort layouts.

Is there a reason why I should not use the Bootstrap grid with Angular Material2?

+5
source share
1 answer

It makes no sense to use bootstrap grid with angular material2 in general.

I don't know Flex very well, so I thought about using Bootstrap 4 Grid to sort layouts.

I do not think that you are absolutely right in this, since to use flex-layout you do not have to be an expert in flexbox css .

flex-layout is just an abstraction API on top of flexbox css , which is very easy to learn. Just check out the samples https://tburleson-layouts-demos.firebaseapp.com/ and also check out this ngair episode https://www.youtube.com/watch?v=TewrxMo_QAs to get some interesting insights on flex-layout from its creator Troy Burleson

+4
source

Source: https://habr.com/ru/post/1271013/


All Articles