1.3.1 • Published 4 years ago

hztd v1.3.1

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

🖥 Environment Support

  • Modern browsers and Internet Explorer 9+ (with polyfills)
  • Server-side Rendering
  • Electron
IE / EdgeFirefoxChromeSafariOperaElectron
IE9, IE10, IE11, Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versionslast 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.

Open in Gitpod

Or clone locally:

$ git clone git@github.com: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.