![javascript - Attempted import error: 'Routes' is not exported from 'react- router-dom' - Stack Overflow javascript - Attempted import error: 'Routes' is not exported from 'react- router-dom' - Stack Overflow](https://i.stack.imgur.com/Gut2P.png)
javascript - Attempted import error: 'Routes' is not exported from 'react- router-dom' - Stack Overflow
![reactjs - Error: ./src/App.js Attempted import error: 'Switch' is not exported from 'react-router-dom' - Stack Overflow reactjs - Error: ./src/App.js Attempted import error: 'Switch' is not exported from 'react-router-dom' - Stack Overflow](https://i.stack.imgur.com/TNqBJ.png)
reactjs - Error: ./src/App.js Attempted import error: 'Switch' is not exported from 'react-router-dom' - Stack Overflow
![react-router4.0+】版本导入browserHistory失效('BrowserHistory' is not exported from 'react-router')_react browserhistory失效_BBbila的博客-CSDN博客 react-router4.0+】版本导入browserHistory失效('BrowserHistory' is not exported from 'react-router')_react browserhistory失效_BBbila的博客-CSDN博客](https://img-blog.csdnimg.cn/20190903164847341.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQwNjEwNzYw,size_16,color_FFFFFF,t_70)
react-router4.0+】版本导入browserHistory失效('BrowserHistory' is not exported from 'react-router')_react browserhistory失效_BBbila的博客-CSDN博客
![How to Fix Attempted Import Error Switch is Not Exported From react-router-dom or React Router Dom - YouTube How to Fix Attempted Import Error Switch is Not Exported From react-router-dom or React Router Dom - YouTube](https://i.ytimg.com/vi/cR3_B_JzqO4/maxresdefault.jpg)
How to Fix Attempted Import Error Switch is Not Exported From react-router-dom or React Router Dom - YouTube
![import error: 'useHistory' is not exported from 'react-router-dom' SOLVED | useHistory was not found - YouTube import error: 'useHistory' is not exported from 'react-router-dom' SOLVED | useHistory was not found - YouTube](https://i.ytimg.com/vi/ntTY9aHmvkw/sddefault.jpg)
import error: 'useHistory' is not exported from 'react-router-dom' SOLVED | useHistory was not found - YouTube
![react-router4.0+】版本导入browserHistory失效('BrowserHistory' is not exported from 'react-router')_react browserhistory失效_BBbila的博客-CSDN博客 react-router4.0+】版本导入browserHistory失效('BrowserHistory' is not exported from 'react-router')_react browserhistory失效_BBbila的博客-CSDN博客](https://img-blog.csdnimg.cn/20190903164801179.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQwNjEwNzYw,size_16,color_FFFFFF,t_70)
react-router4.0+】版本导入browserHistory失效('BrowserHistory' is not exported from 'react-router')_react browserhistory失效_BBbila的博客-CSDN博客
![Attempted import error: 'Switch' is not exported from 'react-router-dom'._attempted import error: 'switch' is not exported f_我是大头鸟的博客-CSDN博客 Attempted import error: 'Switch' is not exported from 'react-router-dom'._attempted import error: 'switch' is not exported f_我是大头鸟的博客-CSDN博客](https://img-blog.csdnimg.cn/25960d74a44d4e6dae196cc00c52090c.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5oiR5piv5aSn5aS06bif,size_20,color_FFFFFF,t_70,g_se,x_16)