hztd
v1.3.1
Published
An enterprise-class UI design language and React components implementation
Downloads
23
Readme
🖥 Environment Support
| IE / Edge | Firefox | Chrome | Safari | Opera | Electron | | --- | --- | --- | --- | --- | --- | | IE9, IE10, IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
📦 Install
npm install hztd
yarn add hztd
🔨 Usage
import { Button, DatePicker } from 'hztd';
const App = () => (
<>
<Button type="primary">PRESS ME</Button>
<DatePicker />
</>
);
publish
npm run build
npm publish(前置条件: 1. 更新版本号; 2. 记得先注释:pre-publish和prepublish脚本)
npm run pub
And import style manually:
import 'hztd/dist/hztd.css'; // or 'hztd/dist/hztd.less'
Or use babel-plugin-import.
⌨️ Development
Use Gitpod, a free online dev environment for GitHub.
Or clone locally:
$ git clone [email protected]:ant-design/ant-design.git
$ cd ant-design
$ npm install # 剑涛本人使用yarn和cnpm都会导致依赖安装失败,建议使用npm
$ npm start
Open your browser and visit http://127.0.0.1:8001 , see more at Development.