用户材料 ui
1.jsx
var React = require('react'),
mui = require('material-ui'),
RaisedButton = mui.RaisedButton;
var MyAwesomeReactComponent = React.createClass({
render: function() {
return (
<RaisedButton label="Default" />
);
}
});
module.exports = MyAwesomeReactComponent;
浏览器化 1.jsx -o 1.js
Error: Parsing file C:\Users\wzx\AppData\Roaming\npm\1.jsx: Unexpected token (7:
11)
at Deps.parseDeps
不知道 <RaisedButton label="Default" />
github:https ://github.com/callemall/material-ui
1 npm install material-ui
2 Then how to do?
3...
4....
我下一步该怎么做?
我需要帮助,我已经做了几天了