Giter VIP home page Giter VIP logo

n7-react-weui's Introduction

##此git不再继续维护,请大家使用官方的git

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/

手机预览

请用微信扫码

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

技术支持 & Sponsor

BrowserStack

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.