同时使用:流路由器和铁路由器(流星)

时间:2016-06-28 23:49:24

标签: rest meteor iron-router flow-router

有没有人同时使用它们?我需要IronRouter用于服务器端,RestApi和Flow Router我之前使用过,所以我可以摆脱它,但我不想要。 但我现在不喜欢Iron Router的每个流量路由器页面。

Oops, looks like there's no route on the client or the server for url: "http://localhost:3000/." 

如何不显示它。

1 个答案:

答案 0 :(得分:1)

由于您已熟悉FlowRoute并希望获得API的server side路由,因此您可以使用Picker。它来自FlowRouter的同一作者。因此,与flowrouter一起使用时应该没有问题。而且它也很容易使用。

https://github.com/meteorhacks/picker