GithubHelp home page GithubHelp logo

chenjunweicc / react-weui-ts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lukou-frontend/react-weui-ts

0.0 0.0 0.0 6.01 MB

weui for react, written by typescript

JavaScript 32.20% TypeScript 62.44% HTML 1.45% Less 3.91%

react-weui-ts's Introduction

React-WeUI

基于weui封装的react移动端组件库

Docs

Installation

With npm:

如果未安装react

npm install --save react react-dom
npm install --save [email protected] react-weui

如果已经安装react

npm install [email protected] react-weui --save

举例

文档里面有例子,这里简单介绍下怎么使用组件

// app.js

import * as React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-weui';
//import styles
import 'weui';


const App = () => <Button>hello wechat</Button>;

ReactDOM.render((
    <App/>
), document.getElementById('container'));

构建

npm run compile

构建文档

npm run compile:doc

发布文档

npm run deploy:doc

react-weui-ts's People

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.