uiw
The official documentation site for uiw
. A high quality UI Toolkit, A Component Library for React 16+. ๐
Installation
npm install uiw --save
You can use kkt
to quickly create a react + uiw project.
npx create-kkt my-app -e uiw
You can use the uiw v1.x
version. Please see here for instructions. (npx comes with npm 5.2+ and higher.)
Basic Usage
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'uiw';
ReactDOM.render(
<Button type="primary">Hello</Button>,
document.getElementById('app')
);
Documentation
Visit the uiwjs.github.io website for more information.
Or Open in VSCode Preview :
Development
Use Gitpod, a free online dev environment for GitHub.
Or clone locally:
$ git clone https://github.com/uiwjs/uiwjs.github.io.git --recurse-submodules
Listening compiled component code.
# Listening compiled component code.
$ cd ./packages/core
$ npm install # Install `core` dependencies
$ npm run watch
To develop, run the self-reloading build:
# Run the app
# Restart the app automatically every time code changes.
# Useful during development.
$ cd ./
$ npm install # Install `website` dependencies
$ npm start
Open your browser and visit http://localhost:19870
Update the document
npm run deploy
Folders
โโโ LICENSE
โโโ README.md
โโโ package.json
โโโ packages
โย ย โโโ core # Component library source code
โย ย โโโ doc
โโโ public # Document the static file.
โโโ src # Document website source code.
โโโ Router.js
โโโ assets
โโโ common # Menu and routing configuration.
โโโ components
โโโ index.js
โโโ layouts
โโโ models
โโโ routes
โโโ store
โโโ styles
โโโ utils
License
Licensed under the MIT License.