JSPM

  • Created
  • Published
  • Downloads 624
  • Score
    100M100P100Q40831F
  • License MIT

router-control

Package Exports

  • @uiw-admin/router-control

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@uiw-admin/router-control) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@uiw-admin/router-control

Installation

npm i @uiw-admin/router-control --save
interface ControllerProps {
  /** 是否为 hash 路由 */
  isHashRouter?: boolean;
  routes?: Routers[];
  /**
   * 加载 models
   */
  loadModels?: (models: string[]) => Promise<any>[];
}