xs-ui-kit-alpha
TypeScript icon, indicating that this package has built-in type declarations

0.0.23 • Public • Published

基于React + Antd + Rollup的公共组件库封装

编译

  • npm run build or yarn build
  • npm run watch or yarn watch

发布

  • npm run build or yarn build
  • npm publish
  • Notice
    • npm publish时需更改package.json中的version防止无法发布成

本地测试

  • npm run build or yarn build
  • cd example
  • 组件使用
   import React from 'react' // 引入react
    import { Empty, Modal } from 'xs-ui-kit-alpha' // 引入对应的组件
    import 'antd/dist/antd.css' // 引入antd 防止样式丢失
  • 启动项目
    • npm run start or yarn start

npm包测试

  • cd demo
  • npm install xs-ui-kit-alpha
  • 组件使用
    import React from 'react' // 引入react
    import { Empty, Modal } from 'xs-ui-kit-alpha' // 引入对应的组件
    import 'antd/dist/antd.css' // 引入antd 防止样式丢失
  • 启动项目
    • npm run start or yarn start

Readme

Keywords

none

Package Sidebar

Install

npm i xs-ui-kit-alpha

Weekly Downloads

2

Version

0.0.23

License

MIT

Unpacked Size

37.9 kB

Total Files

53

Last publish

Collaborators

  • binks_gao