材质UI和网格系统 [英] Material UI and Grid system

查看:90
本文介绍了材质UI和网格系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在和 Material-UI 一起玩.是否有用于创建网格布局的任何选项(例如在 Bootstrap 中)?

I'm playing a little bit with Material-UI. Are there any options for creating a grid layout (like in Bootstrap)?

如果没有,添加此功能的方式是什么?

If not, what is the way to add this functionality?

有一个 GridList组件,但我想它的用途有所不同.

There is a GridList component but I guess it has some different purpose.

推荐答案

材料UI已通过网格组件.

似乎他们最初想要将自己保持为纯粹一个组件"库.但是其中一位核心开发人员认为没有自己的团队太重要了.现在它已合并到核心代码中,并且已

It appears they initially wanted to keep themselves as purely a 'components' library. But one of the core developers decided it was too important not to have their own. It has now been merged into the core code and was released with v1.0.0.

您可以通过以下方式安装它:

You can install it via:

npm install @material-ui/core

现在在正式的文档中,带有代码示例.

这篇关于材质UI和网格系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆