{"action":"created","issue":{"url":"https://api.github.com/repos/umijs/umi/issues/246","repository_url":"https://api.github.com/repos/umijs/umi","labels_url":"https://api.github.com/repos/umijs/umi/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/umijs/umi/issues/246/comments","events_url":"https://api.github.com/repos/umijs/umi/issues/246/events","html_url":"https://github.com/umijs/umi/issues/246","id":307546852,"number":246,"title":"开发中遇到的问题，已经处理的，在这里记录一下。给朋友们一个参考","user":{"login":"xiaohuoni","id":11746742,"avatar_url":"https://avatars1.githubusercontent.com/u/11746742?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaohuoni","html_url":"https://github.com/xiaohuoni","followers_url":"https://api.github.com/users/xiaohuoni/followers","following_url":"https://api.github.com/users/xiaohuoni/following{/other_user}","gists_url":"https://api.github.com/users/xiaohuoni/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaohuoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaohuoni/subscriptions","organizations_url":"https://api.github.com/users/xiaohuoni/orgs","repos_url":"https://api.github.com/users/xiaohuoni/repos","events_url":"https://api.github.com/users/xiaohuoni/events{/privacy}","received_events_url":"https://api.github.com/users/xiaohuoni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-22T08:29:22Z","updated_at":"2018-03-22T08:38:35Z","closed_at":null,"author_association":"NONE","body":"现在文档比较少，好几个朋友都遇到一样的问题，在这里记录一下"},"comment":{"url":"https://api.github.com/repos/umijs/umi/issues/comments/375218765","html_url":"https://github.com/umijs/umi/issues/246#issuecomment-375218765","issue_url":"https://api.github.com/repos/umijs/umi/issues/246","id":375218765,"user":{"login":"xiaohuoni","id":11746742,"avatar_url":"https://avatars1.githubusercontent.com/u/11746742?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaohuoni","html_url":"https://github.com/xiaohuoni","followers_url":"https://api.github.com/users/xiaohuoni/followers","following_url":"https://api.github.com/users/xiaohuoni/following{/other_user}","gists_url":"https://api.github.com/users/xiaohuoni/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaohuoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaohuoni/subscriptions","organizations_url":"https://api.github.com/users/xiaohuoni/orgs","repos_url":"https://api.github.com/users/xiaohuoni/repos","events_url":"https://api.github.com/users/xiaohuoni/events{/privacy}","received_events_url":"https://api.github.com/users/xiaohuoni/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T08:38:35Z","updated_at":"2018-03-22T08:38:35Z","author_association":"NONE","body":"# build 后访问路由刷新后 404？\r\n```js\r\n几个方案供选择：\r\n\r\n* 改用 hashHistory，在 `.umirc.js` 里配 `hashHistory: true`\r\n* 静态化，在 `.umirc.js` 里配 `exportStatic: true`\r\n* 服务端配置路由 fallback 到 index.html\r\n```\r\n方案2，我测试了，刷新页面空白。方案1和方案3，正常"}}
{"actor":{"display_login":"xiaohuoni"}}