Should I use Material for Angular or Material for AngularJS?

安稳与你 提交于 2019-12-05 01:23:09

When building an app with Angular (V2 or +), you should use angular/material2 (github) and the doc at material.angular.io.

Do not use material.angularjs.org as it is for AngularJs apps.

As you noticed, material2 doesn't have much to handle the layout and you should use angular/flex-layout for that.

It's written in material2 repo Readme :

BTW, personal opinion here but it's great that they decided to split the layout from the components so even if you decide to use other components you can still have a responsive layout thanks to angular/flex-layout.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!