search

Home  >  Q&A  >  body text

angular.js - I copied the official ui-router locally and it failed to run

First of all, I am using Baidu static resource public library, so there should be no problem.
This is the status after running

![clipboard.png](/im



伊谢尔伦伊谢尔伦2856 days ago612

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-15 16:59:29

    Finally I know the reason. I used Chrome browser for debugging. It does not support cross-domain requests, that is, it does not support routing. After I changed to Firefox, it ran normally. For details on how to solve the problem using Chrome, see the link http:/ /jingyan.baidu.com/article/7c6fb4281d685780642c900a.html
    But my attempt was unsuccessful

    reply
    0
  • Cancelreply