The problem is check(options, Match.OneOf(undefined, Match.ObjectIncluding(ROUTE_PAT)));
in ROUTE_PAT, there is a property layoutTemplate: Match.Optional(String)
but i'm using react and as your instruction for AccountsTemplates.configureRoute is layoutTemplate: CustomLayout. That's why I got error Match fail. Please fix it
I'm using FlowRouter & react, and i'm encountering the issue with AccountsTemplates.configureRoute As your instruction
But i got error
Match fail
, then I check the code inside this package https://github.com/meteor-useraccounts/flow-routing/blob/master/lib/core.js - line 26 & 72The problem is
check(options, Match.OneOf(undefined, Match.ObjectIncluding(ROUTE_PAT)));
in ROUTE_PAT, there is a propertylayoutTemplate: Match.Optional(String)
but i'm using react and as your instruction for AccountsTemplates.configureRoute islayoutTemplate: CustomLayout
. That's why I got errorMatch fail
. Please fix it