{"name":"umi-plugin-routes","version":"1.0.0-beta.18","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.18","_npmVersion":"6.4.0","_nodeVersion":"10.6.0","_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"dist":{"integrity":"sha512-pUV0wVDVkd9jR3jts3VOYxxs6nEsISCaMeurz1psF+DcX3qgIW0hPT7lVd4Dya48L68LwIGUrfrFNzWazXUHtg==","shasum":"549677e913f957330c60fda8dc4a8ee10dc0338c","tarball":"http://registry-npm.ywwl.com/umi-plugin-routes/download/umi-plugin-routes-1.0.0-beta.18.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\nwsFcBAEBCAAQBQJbf6rECRA9TVsSAnZWagAAb14P/1zZCrAKGypCf1TxIxYx\nrV4c9jCSfh+61jmELVoHLeBX40k0bZ0AGnf28CNzg6RMPyuUakmLIyS5GCQ8\nT4q5n9sXgMUEDXMtMb9ktlYqL6/i5gKsPgoTUtuM7VxSE96NG85Sh7woxG/M\nQmaS+h49WQpFAf2pOC+m4hjJgfZxq6RPoyvE8Rr26Uid4TuWdyptnfyzs06p\n5pM3vgLUgwcZdJYGjweVHR0DEq0PaX3qo7eyHw+VNEOXDgROjbQ+QUsphCFj\n6/2d8oe5fFaLXrxfFaxWQTUVkJLFBVRHqJ+eZBhLWjZ6I7u4lfLZnZ6RSZ4c\noE2/5HG7ME+8RF1AHps3E4QF9dUy61QStMIsnEaic7eOOtIPV3iIeZT6TeLl\n2lLuSkIJc+gVbDtICPYamgXJ48SJ5kPH//nFjMrXTdFoclu9mC6Ge0ShY3id\ncnXG00ZGYn95rpQ2jdPu15nMGzQcdSqFMdqDxe/dZKm10jbFl6hS3ObsYCBX\n03tvZYLH21PITrYTlfpt1TiZlSUupw4mZ1IWTWvDqGTFF+3dJi6COilMwY1z\nhVFiLbvW2fJnf/ZyJcd6fSlyk2ChguwBzTvKJcs8wZL7D+iurHH2oCc4wc5Z\nXmJV/SgaMZLFb/lfvTaFtKT8bs9QblzBPKvUC/dOGXJ7Er9wE0BhhWk6KaIg\negG5\r\n=+rmE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRReb7ahfm+tR2w3jVsc4GVnogSqamcFyJh3lr/W6FBQIhAOEAw1pOoMCjxWtWe12DFKtxbB+Q1cvS6I7r2MmWYUq+"}],"size":1647,"noattachment":false,"key":"/umi-plugin-routes/-/umi-plugin-routes-1.0.0-beta.18.tgz"},"maintainers":[{"name":"sorrycc","email":"sorrycc@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/umi-plugin-routes_1.0.0-beta.18_1535093443278_0.09451859762059223"},"_hasShrinkwrap":false,"publish_time":1535093443559,"_cnpm_publish_time":1535093443559,"dist-tags":{"latest":"1.8.9","next":"1.8.6-beta.1"}}