码迷,mamicode.com
首页 > Web开发 > 详细

reactjs Uncaught TypeError: Cannot read property 'location' of undefined

时间:2017-03-23 19:08:48      阅读:2064      评论:0      收藏:0      [点我收藏+]

标签:read   pac   iss   error:   undefined   react   efi   搜索引擎   路由配置   

reactjs Uncaught TypeError: Cannot read property ‘location‘ of undefined

 

reactjs 路由配置 怎么跳转 不成功 国内搜索引擎 找半天找不到 有用 资料 于是 goolge

 

   package.json 里面配置: "react-router": "^3.0.0"  改为3.x 就可以了 , 改完 执行 npm install

 

原文参考: https://github.com/acdlite/redux-router/issues/281

reactjs Uncaught TypeError: Cannot read property 'location' of undefined

标签:read   pac   iss   error:   undefined   react   efi   搜索引擎   路由配置   

原文地址:http://www.cnblogs.com/liufl/p/6606462.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!