Material-UI入门 [英] Getting started with material-ui

查看:103
本文介绍了Material-UI入门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我看来,保存完好的秘密是material-ui,这是一个使用Google的 Material Design UI的网络框架,再加上React.我认为这是与未来的完美结合.但是,这也是如何使用它的一个很好的秘密. http://material-ui.com/#/get-started上的入门指南不是针对普通的Joe,而是针对一小部分可能了解它的人.此外,这里的问题,例如如何使用material-ui框架? material ui安装配置,从未得到回答.

Seems to me the well-kept secret is the material-ui, a web framework that uses Google's Material Design UI, plus React. I think it is a fantastic combination, and the future. However, it is also a well well-kept secret on how to use it. The Getting started guide at http://material-ui.com/#/get-started is not for normal Joe, but only for a tiny fraction of people that might understand it. Moreover, the questions here, like How to use material-ui framework?, material ui Installation configure, have never been answered.

我设法安装了Material-ui,

I managed to get material-ui installed,

  $ npm install material-ui
  react-tap-event-plugin@0.1.6 node_modules/react-tap-event-plugin

  react@0.13.2 node_modules/react
   envify@3.4.0 (through@2.3.7, jstransform@10.1.0)

  material-ui@0.7.4 node_modules/material-ui
   classnames@1.2.1
   react-draggable2@0.5.1

  $ ls -d1 node_modules/*
  node_modules/material-ui
  node_modules/react
  node_modules/react-tap-event-plugin

但是下一步呢?

  • 我应该将它们移到我的/var/www/下吗?还是启动nodejs,或者...?
  • 我如何看到一个简单的演示,说明一切正常?
  • Should I move them under my /var/www/? Or start nodejs, or...?
  • How can I see a simple demo that show everything is working?

总而言之,作为仅了解http服务器和静态html页面的人,让我看到它与我自己的环境中的现有Web服务器一起工作的最简单方法是什么?

All in all, as someone who knows only http servers and static html pages, what's the simplest way for me to see it is working with my existing web server in my own environment?

谢谢

$ lsb_release -a 
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.10
Release:        14.10
Codename:       utopic

$ uname -srmv
Linux 3.16.0-34-generic #47-Ubuntu SMP Fri Apr 10 18:02:58 UTC 2015 x86_64

推荐答案

要开始示例,请遵循,然后在浏览器中打开 http://localhost:8000/.

and open a http://localhost:8000/ in your browser.

这篇关于Material-UI入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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