0.0.23 • Published 3 years ago

xs-ui-kit-alpha v0.0.23

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

基于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
0.0.23

3 years ago

0.0.20

3 years ago

0.0.10

4 years ago

0.0.22

3 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago