admin管理员组

文章数量:1404923

I am using Angular 4 and have installed Angular Material 2 as I like how the ponents look.

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

I know there's Angular Flex-layout for it but to be honest I don't know Flex that well so I was thinking on using Bootstrap's 4 Grid for sorting out the layouts.

Is there any reason why I should not use Bootstrap's grid with Angular Material2 ?

I am using Angular 4 and have installed Angular Material 2 as I like how the ponents look.

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

I know there's Angular Flex-layout for it but to be honest I don't know Flex that well so I was thinking on using Bootstrap's 4 Grid for sorting out the layouts.

Is there any reason why I should not use Bootstrap's grid with Angular Material2 ?

Share Improve this question asked Aug 19, 2017 at 14:40 user8398743user8398743 1
  • 2 You may find some useful information in the last part of this answer – Nehal Commented Aug 21, 2017 at 12:20
Add a ment  | 

1 Answer 1

Reset to default 5

There is no point to use bootstrap grid with angular material2 at all.

I don't know Flex that well so I was thinking on using Bootstrap's 4 Grid for sorting out the layouts.

I do not think you are quite right on that as in order to use flex-layout you do not have to be a flexbox css expert at all.

Flex-layout is just an abstraction API on top of flexbox css it is very simple to master. Just have a look in to live samples https://tburleson-layouts-demos.firebaseapp./ and also checkout this ngair episode https://www.youtube./watch?v=TewrxMo_QAs to get some interesting insides on flex-layout from its creator Troy Burleson

本文标签: javascriptAngular Material 2 with Bootstrap 4 GridStack Overflow