{"name":"umi-plugin-routes","version":"1.0.0-beta.14","main":"./lib/index.js","repository":{"type":"git","url":"https://github.com/umijs/umi/tree/master/packages/umi-plugin-routes"},"homepage":"https://github.com/umijs/umi/tree/master/packages/umi-plugin-routes","authors":["chencheng <sorrycc@gmail.com> (https://github.com/sorrycc)"],"bugs":{"url":"https://github.com/umijs/umi/issues"},"license":"MIT","files":["lib","src"],"readme":"# umi-plugin-routes\n\n## Usage\n\nInstall via yarn or npm.\n\n```bash\n$ yarn add umi-plugin-routes\n```\n\nConfigure it in the `.umirc.js`.\n\n```js\nexport default {\n  plugins: [\n    ['umi-plugin-routes', option],\n  ],\n};\n```\n\n## Option\n\n### option.exclude\n\ntype: `Array(RegExp|Function)`\n\ne.g.\n\n```js\n{\n  exclude: [\n    // exclude all the `models` directory\n    /models\\//,\n    // exclude ./pages/a.js\n    (route) { return route.component === './pages/a.js' },\n  ],\n}\n```\n\n### option.update\n\ntype: `Function`\n\ne.g.\n\n```\n{\n  update(routes) {\n    return [\n      { path: '/foo', component: './bar.js' },\n      ...routes,\n    ];\n  }\n}\n```\n","readmeFilename":"README.md","description":"## Usage","_id":"umi-plugin-routes@1.0.0-beta.14","_npmVersion":"6.3.0","_nodeVersion":"10.6.0","_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"dist":{"integrity":"sha512-nP9pLp54lVNdGT/laEV9T/KiSedCjjcDXXjXpXL2GOENAYf8LvKinarfT5eABPQiNBVmVwIsdtJObJcsU33b7Q==","shasum":"a4876f2109aca59dd5c38f8ef477c81cd55a98ed","tarball":"http://registry-npm.ywwl.com/umi-plugin-routes/download/umi-plugin-routes-1.0.0-beta.14.tgz","fileCount":6,"unpackedSize":4999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdpIRCRA9TVsSAnZWagAAczkP/1VyguYMhgtz5YIK8WE0\nwW/LLOo+FxZSwKHQpKg6UsXU71VdQ63JoGiAjdKfhL5bTz6vFou5dKnRIPKD\nvGyj4VuqSqLm4HaFhE/uzX1vgKxEQr9/EV/Dvez8Zxx0BcmGpalPYCDHCtjt\nQaj0GAAVPDE4c5u2f0HOSo3Ematvic/NHujRfMB37fXImXraepTlmS964H4o\nVURmyZJsVcQ+3x3xsyeMP9BYc1VaoaMuM7ONdRMGkZxrF8ak2I4POH8I5Y6V\nJx8hTHdBeX30xZY2DlPAfnDSTCHQFIGQcYcUgr3nRq8eIA8VkrBOnNbE1OrJ\n6JHuF9FAE78OiaVgOvqIVDdx6IE41kjMC46PYXM/4kGDI6x+N3kPY5YvoxQh\nxEJGM40CLht4+hbIECxs91Xrf7h3LcafKngEYOF4/Kn54DwAJTqil3zAecsH\nHKUWvlcIHUAhceLyQZ9Z9wSfMEP18XXmIB8p5jbznWHmQ/nmHVYhrXhH0Rvi\n8iLgCpXVFuhdh0Lc2At5jAFGy8dbIDKMG00m6dbj9ncE1AMM45aympRIFK9s\nOs1ZxkfJaTQUQPN0f4/WJBaErtE8ztEi7oCBzNFvW1p8Wh27a0dyGm164xz8\nNhaWjEtkzOk7kb6C6gNoqn/GE5rNOS1oMa//KmKO/wxH9Fb5CztmGc60gJlZ\nt1II\r\n=jhmt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbuBo08wfZQBJiAC1Ax715a/6uwePliS89MOEmraI2hAiEA/OuXVOQkn9JcbZakyWkRpzt64+G/u7lJYqiV/cWmrGM="}],"size":1646,"noattachment":false,"key":"/umi-plugin-routes/-/umi-plugin-routes-1.0.0-beta.14.tgz"},"maintainers":[{"name":"sorrycc","email":"sorrycc@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/umi-plugin-routes_1.0.0-beta.14_1534497297259_0.6478100710415426"},"_hasShrinkwrap":false,"publish_time":1534497297390,"_cnpm_publish_time":1534497297390,"dist-tags":{"latest":"1.8.9","next":"1.8.6-beta.1"}}