Routing and navigation in Angular 2

前端 未结 6 1483
误落风尘
误落风尘 2020-12-06 17:45

I am going through the tutorials for Angular 2 and have been able to get a simple application up and running. Now, I am moving on to the routing and navigation part found h

6条回答
  •  甜味超标
    2020-12-06 18:33

    In addition to @stasivash answer: If you have trouble making ajax requests to a certain path in your project, such as YOUR-DOMAIN/api/..., I suggest adding the following condition:

    resulting in:

    
      
          
              
              
                  
                  
              
              
          
      
    
    

提交回复
热议问题