Skip to content

uxcore/uxcore.github.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b2a2f60 · Nov 12, 2024
Nov 12, 2024
Sep 6, 2018
Mar 13, 2019
May 8, 2018
Jan 9, 2018
Jan 16, 2019
Sep 6, 2018
Sep 6, 2018
Jan 16, 2019
Dec 15, 2016
Sep 6, 2018
May 23, 2018
Oct 29, 2015
Apr 27, 2016
May 8, 2018
Feb 22, 2016

Repository files navigation

uxcore

React component of UXCORE

参与开发

setup

$ git clone https://github.com/uxcore/uxcore.github.com.git uxcore
$ cd uxcore
& npm install -g nico jade nico-jsx
$ npm install
$ git submodule init
$ git submodule update

run server

$ npm run start

部署到github pages

$ npm run deploy

文档规范

文档和demo都使用markdown语法

文档目录结构

|- components ------------------------- 组件
	|- button ------------------------- uxcore-button
		|- demo ----------------------- demo目录
			|- basic.md
			|- size.md
		|- index.md ------------------- button文档
|- css -------------------------------- kuma
	|- base --------------------------- base.less
		|- index.md ------------------- css文档

文档规范

# Button

- category: Components
- chinese: 按钮

## Usage

## Props

demo规范

# demo title

- order: 0 ==> demo排序

默认的按钮。==> demo描述

---

````jsx
var Button = require('uxcore-button');

ReactDOM.render(
  <Button>Confirm</Button>
, document.getElementById('components-button-demo-basic'));