2.4.50-26 • Published 5 years ago

@beisen/ocean-cmps v2.4.50-26

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
5 years ago

启动

注:不能使用npm i

yarn yarn run examples

组件

  • 在src下,每一个文件夹为一个组件
  • 每个文件有:

    • src:组件源码
    • examples:Demo示例

      • preview:图片示例
      • default:默认的示例
      • ...other

        在 examples 增加一个文件夹是,可以npm run build-examples,npm run examples

    • .npmignore

    • CHANGELOG
    • README.md
    • package.json name: "name": "@beisen/ocean- + 文件名 dependencies 分为两种方式:
          * link: 依赖src下的其它组件,`@beisen/drawer": "link:../drawer",`
          * npm : `"@beisen-phoenix/input": "1.0.27"`

      使用固定版本号

注意:

每一先安装一个包时,需要重新yarn

发包

  • ux-ocean-cmps-monorepo/package.json 里的 version

  • npm run commit

查看组件的构建状态

http://cmp.italent-inc.cn/jenkins/job/monorepo/