umi-plugin-activation-route-modify
v0.4.0
Published
KeepAlive with umi route.
Downloads
5
Readme
umi-plugin-activation-route-modify
KeepAlive with umi route.
Refer umi-plugin-keep-alive
Install
yarn add umi-plugin-activation-route-modify
Usage
Configure in .umirc.js
,
export default {
plugins: [
['umi-plugin-activation-route-modify', options],
],
}
Options
interface IOptions {
// Route path
exclude: (string | RegExp)[];
// Page layout, Should add src/layouts/PageLayout.jsx
enablePageLayout?: boolean;
}
example
https://github.com/MinJieLiu/umi-plugin-activation-route-modify/tree/master/example
LICENSE
MIT