0.1.5 • Published 7 months ago

celesea-design v0.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

运行命令 1. 安装依赖 yarn 1. 编译 yarn build

本地调试 1. 编译后执行

`
yarn link
`
  1. 在需要安装包的项目中使用 从npm中安装是用的 yarn add @cele-sea/components 本地调试的时候直接使用 yarn link @cele-sea/components

  2. 调试结束之后,执行 yarn unlink @cele-sea/components 来取消连接

npm发布流程 1. 更改 packapge.json 中版本号 2. 执行 yarn build 3. npm publish 具体可以参考 npm 发布流程,如果是使用的 taobao 等其它镜像地址,需要先切回到官方地址。

目录说明 1. components 组件目录 2. index.ts 导出的组件 3. 编译时自动生成 .d.ts 说明文件