带有Bootstrap 4网格的角度材料2

max*_*020 6 javascript angular2-template angular-material2 angular

我正在使用Angular 4并安装了Angular Material 2,因为我喜欢组件的外观.

所以现在我拥有所有组件并想要创建一个布局.

我知道它有Angular Flex布局,但老实说我不太了解Flex,所以我正在考虑使用Bootstrap的4 Grid来整理布局.

我有什么理由不在Angular Material2中使用Bootstrap的网格吗?

Kun*_*vič 6

没有一点用bootstrap gridangular material2都没有.

我不太了解Flex,所以我正在考虑使用Bootstrap的4 Grid来整理布局.

我不认为你是对的,因为为了使用flex-layout你根本不必是flexbox css专家.

Flex-layout它只是一个抽象API,flexbox css它掌握起来非常简单.随便看看去住样品https://tburleson-layouts-demos.firebaseapp.com/也结帐这个ngair插曲https://www.youtube.com/watch?v=TewrxMo_QAs上得到一些有趣的内部flex-layout从它的创造者Troy Burleson