hm-web-components
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

web-components

基于antd封装的通用组件。

development

目前组件库中的less文件会合并为统一的style.less,具体项目中需要在global.less中统一引入,如:

...
@import '~hm-web-components/lib/style.less';
...

因此,组件库中只能写className具体名:

<div className="hm-query-container">

本地开发时,可以使用npm link链接到local node_modules,然后在引用的项目中执行npm link hm-web-components

$ cd [hm-web-components path]
$ npm link
$ cd [project path]
$ npm link hm-web-components

打包脚本:

$ yarn build

Readme

Keywords

none

Package Sidebar

Install

npm i hm-web-components

Weekly Downloads

6

Version

1.3.1

License

ISC

Unpacked Size

307 kB

Total Files

29

Last publish

Collaborators

  • shihao