1.0.0 • Published 4 years ago

dwt-ui v1.0.0

Weekly downloads
3
License
MIT
Repository
-
Last release
4 years ago

dwt UI

An enterprise-class UI design language and React-based implementation.

中文 README

Features

  • Extracted from the interactive language and visual style of enterprise-level medium and backstage products.
  • A set of high-quality React components out of the box.
  • Written in TypeScript with predictable static types.
  • The whole package of development and design resources and tools.

Environment Support

  • Modern browsers and Internet Explorer 9+ (with polyfills)
  • Server-side Rendering
  • Electron

Install

npm install dwt-ui --save

Usage

import { DatePicker } from 'dwt-ui';
import { Table } from 'dwt-ui/pro';
ReactDOM.render(<><DatePicker /><Table /><>, mountNode);

And import style manually:

import 'dwt-ui/dist/dwt-ui.css'; // or 'dwt-ui/dist/dwt-ui.less'
import 'dwt-ui/dist/dwt-ui-pro.css'; // or 'dwt-ui/dist/dwt-ui-pro.less'

Or import components on demand

TypeScript

See Used in TypeScript

Internationalization

See i18n.

Links

Local Development

$ git clone https://github.com/dwt/dwt-ui.git
$ cd dwt-ui
$ npm install
$ npm start

Deployment

$ npm run deploy

publish

$ npm run pub

Open your browser and visit http://127.0.0.1:8001 , see more at https://github.com/ant-design/ant-design/wiki/Development .