Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 角度为4的堆栈通常使用什么路由器?_Angular - Fatal编程技术网

Angular 角度为4的堆栈通常使用什么路由器?

Angular 角度为4的堆栈通常使用什么路由器?,angular,Angular,如果您使用Angular 4进行平均堆栈,建议使用哪种路由器?有两个选项:Angular router(带有Angular core)和(第三方路由器) 就我个人而言,我更喜欢Angular路由器,因为它是由Angular提供的,并将对任何bug提供长期支持 UI路由器比Angular路由器有更多的功能,它已经存在了相当长的一段时间了。它使用基于状态的路由,这可以在使用子路由的角度路由器中实现。所以,如果您使用的是Angular router,那么您将不得不投入一些额外的工作来实现UI rout

如果您使用Angular 4进行平均堆栈,建议使用哪种路由器?

有两个选项:Angular router(带有Angular core)(第三方路由器)

就我个人而言,我更喜欢Angular路由器,因为它是由Angular提供的,并将对任何bug提供长期支持

UI路由器比Angular路由器有更多的功能,它已经存在了相当长的一段时间了。它使用基于状态的路由,这可以在使用子路由的角度路由器中实现。所以,如果您使用的是Angular router,那么您将不得不投入一些额外的工作来实现UI router的功能


我认为在你的情况下,那堆东西无关紧要。因为您将使用http或web服务来调用服务器。路由问题只存在于客户端。

有两个选项:角型路由器(带有角型核心)(第三方路由器)

就我个人而言,我更喜欢Angular路由器,因为它是由Angular提供的,并将对任何bug提供长期支持

UI路由器比Angular路由器有更多的功能,它已经存在了相当长的一段时间了。它使用基于状态的路由,这可以在使用子路由的角度路由器中实现。所以,如果您使用的是Angular router,那么您将不得不投入一些额外的工作来实现UI router的功能

我认为在你的情况下,那堆东西无关紧要。因为您将使用http或web服务来调用服务器。路由问题只存在于客户端