在我看来,妥善保管的秘密是material-ui,这是一个使用Google的Material Design UI和React的Web框架。我认为这是未来的绝佳结合。但是,这也是如何使用它的一个很好的秘密。http://material-ui.com/#/get-started上的“入门指南”不适用于普通的Joe,仅适用于一小部分可能了解它的人。而且,这里的问题,例如如何使用material-ui框架?,材料ui安装配置,从未回答。
我设法安装了material-ui,
$ npm install material-ui
[email protected] node_modules/react-tap-event-plugin
[email protected] node_modules/react
[email protected] ([email protected], [email protected])
[email protected] node_modules/material-ui
[email protected]
[email protected]
$ ls -d1 node_modules/*
node_modules/material-ui
node_modules/react
node_modules/react-tap-event-plugin
但是接下来呢?
/var/www/
吗?还是启动nodejs,或者...?总而言之,作为仅了解http服务器和静态html页面的人,让我看到它与自己的环境中的现有Web服务器一起工作的最简单方法是什么?
谢谢
$ 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
要开始示例,请遵循github上的说明。
cd <project folder>/material-ui/example
npm install
npm start
并在浏览器中打开http:// localhost:8000 /。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句