【发布时间】:2017-04-26 04:14:59
【问题描述】:
我在我的项目中使用react、react-router-dom 和express。当我通过单击链接发送请求时,一切正常,但如果我通过浏览器发送请求,它就不起作用了。但是,对于浏览器中的某些请求,例如 http://localhost:8000/ 或 http://localhost:8000/admin 效果很好,但对于某些请求,例如 http://localhost:8000/admin/users 或 http://localhost:8000/admin/account 效果不佳。
浏览器中的错误提示:
bundle.js:1 Uncaught SyntaxError: Unexpected token <它指向 .
【问题讨论】:
标签: node.js reactjs express react-router