Setting up Flow Router using the To Do app (Blaze)

Hello everyone,

I’m new to Meteor and am trying to set up Flow Router using the To Do app. Basically i’m trying to get the app to run a second page. This is my code and what I’ve tried to do in detail:

Can someone please advise on how to properly set things up so they work? I’ve tried browsing tutorials and none of them adhere to Meteor’s file structure, so it’s very confusing to get things working.

Thanks in advance.

Just from the top of my head, and looking at your code, it looks like you are not rendering the layout when the route changes. FlowRouter doesn’t do it by itself. There is a special module to be used in conjunction with FR, called BlazeLayout; see this link for instructions.