Swastik Roy
Swastik Roy

Reputation: 308

Meteor Flow router/Iron router with angular ui router

I am trying to add server side rendering with separate root html files to my angular-meteor project. But, as server side rendering is not possible in angular and iron router/flow router which supports server side rendering does not play with angular but with blaze. Please help How can I can implement server side routing and angular ui-routing ?

Upvotes: 0

Views: 457

Answers (1)

MrE
MrE

Reputation: 20768

Iron-Router does server and client side routing, however Flow-Router does not.

It is recommended to use Picker for server-side rendering with Flow-Router, and it's basically like an Express router, so it should work fine wit Angular-Router

meteor add meteorhacks:picker

https://atmospherejs.com/meteorhacks/picker

https://github.com/meteorhacks/picker/

It supports middleware too.

Good luck

Upvotes: 0

Related Questions