kadirahq / flow-router

Carefully Designed Client Side Router for Meteor
MIT License
1.09k stars 193 forks source link

Router tries to run before route is even defined #733

Open pociej opened 6 years ago

pociej commented 6 years ago

in one of my client files :

import { FlowRouter } from 'meteor/kadira:flow-router';
import { BlazeLayout } from 'meteor/kadira:blaze-layout';

console.log("some log"); 

FlowRouter.route('/entry',{
  name : 'entry',
  action : function(params) {
    console.log("on entry");
  },
}); 

what i see as output FlowRouter throws error that there is no route /entry and after few ms is runs above file which makes it completly unusable. Its first time i met this problem, sounds like some problem with builder?

screen shot 2018-03-29 at 17 41 02