geekforbrains / meteor-tinyrouter

A tiny client-side router for Meteor.
https://atmospherejs.com/geekforbrains/tinyrouter
1 stars 1 forks source link

Route with Layout templates? #1

Open praneybehl opened 8 years ago

praneybehl commented 8 years ago

Great work with the router. Just trying to figure if there is a way to maybe render with layout templates and regions like flow-router and iron-router?

Example in Flow Router: FlowRouter.route('/blog/:postId', { action: function(params) { BlazeLayout.render("mainLayout", {area: "blog"}); } });

Cheers! Praney

geekforbrains commented 8 years ago

Thanks for the feedback! This is something I've looked into. Right now there isn't a way to do this, but its a feature I plan on adding :) I need it too!