react-ui

A collection of components for React, base on bootstrap 4.0.

Github星跟踪图

This Project Is Deprecated

Try another component library Shineout

此项目已经暂停维护,已发布一个新的轻量,性能更优化的组件库 Shineout,欢迎移步使用。

A collection of components for React, base on bootstrap 4.0. Docs

Usage

  • npm install
npm install rctui
var ReactUI = require('rctui')
var Form = ReactUI.Form
// or
import { Form } from 'rctui'
...
// import one Component without other components
var Input = require('rctui/Input')
var CheckboxGroup = require('rctui/CheckboxGroup')
var FormControl = require('rctui/FormControl')
// or
import Input from 'rctui/Input'

If you don't want compile the file or encounter any compile problems, you can use the built file

// html
<script src="https://unpkg.com/rctui/dist/index.js"></script>
// webpack config
externals: {'react': 'React', 'react-dom': 'ReactDOM', 'rctui': 'rctui'},
// jsx
import { Form } from 'rctui'
...

cli

There is a internal cli command, help you easy start you app.

need nodejs >= 4,npm >= 3

Waning options all/webpack will overwrite your webpack.config.js file

npm install rctui
node node_modules/rctui/cli/init.js [options]
options:
    - all        install dependencies and devDependencies package, simple demo code, devServer, webpack config
    - update     install / update package
    - demo       a simple demo
    - server     node devServer.js
    - webpack    webpack.config.js !warning: will overwrite your webpack.config.js file

Start Kit

如果配置仍然有问题的话,可以尝试使用这个 Start Kit.

主要指标

概览
名称与所有者Lobos/react-ui
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2015-03-16 06:47:36
推送于2019-03-22 06:39:05
最后一次提交2018-09-04 11:13:02
发布数7
最新版本名称0.7.0-rc.1 (发布于 )
第一版名称0.1.0 (发布于 )
用户参与
星数1.6k
关注者数116
派生数301
提交数722
已启用问题?
问题数101
打开的问题数17
拉请求数19
打开的拉请求数0
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?