umi-plugin-multistage-route

1.0.5 • Public • Published

umi-plugin-multistage-route

多级路由装饰器,利用show和hide来保存父路由状态

Usage

在routes配置中,多极路由的父路由上增加属性multistage

multistage: boolean | {forceRender:boolean}

{
  path: 'multistage-routes',
  component: './demo/components/multistage-routes/index',
  multistage: true,
  routes: [
    {
      path: 'second',
      component: './demo/components/multistage-routes/second/index',
    }
  ]
}

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i umi-plugin-multistage-route

Weekly Downloads

3

Version

1.0.5

License

ISC

Unpacked Size

9.93 kB

Total Files

10

Last publish

Collaborators

  • qq651088004