摘要: 项目以react router实现,用ngnix做反向代理的时候出现404找不到页面,有两种解决方法。 第一种 将<Route path="*" component={NotFound} />对应的component改为<IndexRoute>对应的component,如下: const Route 阅读全文
posted @ 2016-11-15 17:11 Isuty 阅读(574) 评论(0) 推荐(0) 编辑