Web mobile components with react
Please read the documentation
Please look at the demo
npm install react-mobile-ui --save-dev
// app.js
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-mobile-ui';
const App = () => <Button>hello react-mobile-ui</Button>;
ReactDOM.render((
<App/>
), document.getElementById('container'));
Please commit issues
git clone https://github.com/shengKevin/react-mobile-ui.git
cd react-mobile-ui && npm i
// docs
npm run build:lib
npm run doc
// example
npm run build:lib
npm start
// lib
npm run build:lib
start: npm run doc
build: npm run build:doc
start: npm start
build: npm run build
npm run build:lib
├── 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