@hemyn/web-components
TypeScript icon, indicating that this package has built-in type declarations

0.1.17 • Public • Published

web-components

基于antd封装的通用组件。

package

yarn build

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

Readme

Keywords

none

Package Sidebar

Install

npm i @hemyn/web-components

Weekly Downloads

11

Version

0.1.17

License

MIT

Unpacked Size

310 kB

Total Files

37

Last publish

Collaborators

  • shihao