1.10.9 • Published 5 years ago

ola-ui-jd v1.10.9

Weekly downloads
16
License
MIT
Repository
-
Last release
5 years ago

ola-ui-jd

ola-ui 的 jd 业务组件层。

Install

yarn add ola-ui-jd

DEV

yarn build  ## 打包

yarn dev  ## 打包 (watch 模式)

Quick Start

添加 reducer

import {combineReducers} from 'redux-immutable';
import {reducers as olaReducers} from 'ola-ui-jd';

export default combineReducers({
  
  // ...,

  olaReducers,

  // ...,
});

添加 saga

import {all, fork} from 'redux-saga/effects';
import {sagas as olaSagas} from 'ola-ui-jd';
import createSagaMiddleware from 'redux-saga';

export function* initSagas() {
  yield all([
    // ...,
    fork(olaSagas),
    // ...,
  ]);
}

// run saga middleware with sagas
const sagaMiddleware = createSagaMiddleware();
sagaMiddleware.run(initSagas);

调用组件

import React, {Component} from 'react';
import {SomeComponent} from 'ola-ui-jd';

export default class MyComponent extends Component {

  render() {
    return <SomeComponent />;
  }

}
1.10.9

5 years ago

1.10.8

5 years ago

1.10.7

6 years ago

1.10.6

6 years ago

1.10.5

6 years ago

1.10.4

6 years ago

1.10.3

6 years ago

1.10.2

6 years ago

1.10.2-beta3

6 years ago

1.10.2-beta2

6 years ago

1.10.2-beta

6 years ago

1.10.1

6 years ago

1.10.0

6 years ago

1.10.0-beta4

6 years ago

1.10.0-beta3

6 years ago

1.10.0-beta2

6 years ago

1.10.0-beta

6 years ago

1.9.10

6 years ago

1.9.9

6 years ago

1.9.8-beta3

6 years ago

1.9.8-beta2

6 years ago

1.9.8-beta

6 years ago

1.9.7

6 years ago

1.9.6

6 years ago

1.9.5

6 years ago

1.9.4

6 years ago

1.9.3

6 years ago

1.9.2

6 years ago

1.9.1

6 years ago

1.9.0

6 years ago

1.8.1

6 years ago

1.8.0

6 years ago

1.8.0-beta3

6 years ago

1.8.0-beta2

6 years ago

1.8.0-beta

6 years ago

1.7.5

6 years ago

1.7.4

6 years ago

1.7.3

6 years ago

1.7.2

6 years ago

1.7.1

6 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.9

6 years ago

1.5.8

6 years ago

1.5.7

6 years ago

1.5.6

6 years ago

1.5.5

6 years ago

1.5.4

6 years ago

1.5.3

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.11

6 years ago

1.2.11-beta2

6 years ago

1.2.11-beta

6 years ago

1.2.10

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago