Subscribe to Evented Mind to watch the full video.

Already have an Evented Mind subscription?

Subscribe to Evented Mind to watch the full video.

Need a second look? Watch again

Build a Multi Page App with Iron Meteor

The Master Layout

A layout will allow us to reuse a look and feel across multiple pages in our app. It's where we'll put things like the login buttons, navigation breadcrumbs, and general container divs. You'll also see how the iron:layout package used by iron:router allows to create multiple yield regions which we can render content into from child templates.

  • Meteor
**Note**: Due to a change in the `iron` command line tool, you'll need to tell the Router about your layout. See the final example <a href="https://github.com/eventedmind/class-build-a-multi-page-app-with-iron-meteor/blob/master/todos/app/lib/routes.js#L2" target="_blank">here.</a> <p class="code-block-title">/app/lib/routes.js</p> <pre> <code class="javascript"> Router.configure({ layoutTemplate: 'MasterLayout' }); </code> </pre>
Join the Discussion

Want to leave a comment? .