yzb-comp

0.1.5 • Public • Published

yzb-comp Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

An npm package boilerplate.

yzb-comp in action

Live Playground

For examples of the component in action, go to https://yyssc.github.io/yzb-comp.

OR

To run that demo on your own computer:

Getting Started

Install dependencies

Ensure packages are installed with correct version numbers by running:

(
  export PKG=yzb-comp;
  npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g; s/ *//g' | xargs npm install --save "$PKG"
)

Which produces and runs a command like:

npm install --save yzb-comp react@>=#.## react-dom@>=#.## ssc-refer@>=#.##

Maintaining

First release

  • put 0.0.0 in version section of package.json.
  • run npm run version:minor

Next release

  • run npm run version:patch for patch release.

各种参照组件

可以供使用的参照组件都在src/财务平台/components/目录下。

  • 科目表(refCode: accsubjectchart)
    • AccSubjectChartRefer 科目参照组件
    • SimpleAccSubjectChartRefer 科目参照组件 - 简单
  • 科目表(refCode: subjectchart)
    • SubjectChartRefer 科目参照组件
    • SimpleSubjectChartRefer 科目参照组件 - 简单
  • 科目(refCode: accsubject)
    • AccSubjectRefer 科目参照组件
    • SimpleAccSubjectRefer 科目参照组件 - 简单
    • FilterAccSubjectRefer 科目参照组件 - 两个参照,由科目表来过滤科目
  • 科目(refCode: subject)
    • SimpleSubjectRefer 科目参照组件 - 简单
    • FilterSubjectRefer 科目参照组件 - 两个参照,由科目表来过滤科目

派生关系

  • Refers
    • ReferList
      • BaseSubjectRefer
        • SimpleSubjectRefer
        • SimpleAccSubjectRefer
        • SimpleSubjectChartRefer
        • SimpleAccSubjectChartRefer

请不要直接使用Base*Refer,比如BaseSubjectRefer,这些是基类。如果想使用默认组件,请直接使用 Simple*Refer,比如SimpleSubjectRefer

组装关系

  • FilterSubjectRefer
    • SimpleSubjectChartRefer
    • SimpleSubjectRefer
  • FilterAccSubjectRefer
    • SimpleAccSubjectChartRefer
    • SimpleAccSubjectRefer

Dependencies (3)

Dev Dependencies (49)

Package Sidebar

Install

npm i yzb-comp

Weekly Downloads

11

Version

0.1.5

License

MIT

Unpacked Size

268 kB

Total Files

41

Last publish

Collaborators

  • xxd3vin