react-mobile-ui
v1.0.1
Published
mobile-ui for react mobile
Downloads
2
Maintainers
Readme
React-mobile-ui
Web mobile components with react
Doc
Please read the documentation
Demo
Please look at the demo
Installing
npm install react-mobile-ui --save-dev
Use example
// app.js
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-mui';
const App = () => <Button>hello react-mui</Button>;
ReactDOM.render((
<App/>
), document.getElementById('container'));
Bug
Please commit issues
Development
git clone https://github.com/shengKevin/react-mobile-ui.git
cd react-mui
// docs
npm run build:lib
npm run doc
// example
npm run build:lib
npm start
// lib
npm run build:lib
Dir
├── build
│ ├── dist
│ ├── docs
│ ├── example
│ └── lib
├── docs
│ ├── app.js
│ ├── app.less
│ ├── docs.md
│ ├── index.html
│ └── index.js
├── example
│ ├── app.js
│ ├── app.less
│ ├── example.md
│ ├── index.html
│ └── index.js
├── src
│ ├── components
│ ├── index.js
│ ├── utils
│ └── version.js
├── webpack.config.js // docs and exmple
└── webpack.config.lib.js // build lib
docs
start: npm run doc
build: npm run build:doc
example
start: npm start
build: npm run build
lib
npm run build:lib