0.1.12 • Published 8 years ago

n7-react-weui v0.1.12

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

WeUI - React

travis build version MIT License

React-WeUI是weui的第三方扩展,独立输出成react组件. React-WeUI使用了webpack环境,配合less-loader输出inline样式. 代码标准使用了ES2015,以babel-loader来输出成现有可运行网页.

具体说明

http://n7best.github.io/react-weui-page/

手机预览

请用微信扫码

npm.io

http://n7best.github.io/react-weui/

快速使用

使用npm安装

npm install --save n7-react-weui

内嵌到你的react开发当中

import React from 'react';
//读取组件
import Button from 'n7-react-weui/lib/button';

//创建一个自定义迷你绿色按钮
const CustomButton = () => {
  return (
        <Button type="primary" mini>按钮</Button>
  );
}

export default CustomButton;

开发

git clone https://github.com/n7best/react-weui
cd react-weui
npm install
npm start

然后在浏览器打开 http://localhost:8080