Skip to content

Instantly share code, notes, and snippets.

@thiagoterleski
Created December 1, 2016 19:46
Show Gist options
  • Save thiagoterleski/d643f2b4c0e9465f3ffd95402641b4be to your computer and use it in GitHub Desktop.
Save thiagoterleski/d643f2b4c0e9465f3ffd95402641b4be to your computer and use it in GitHub Desktop.
<Provider store={store}>
{ /* Tell the Router to use our enhanced history */ }
<Router history={hashHistory}>
<Route path="/" component={App}>
<IndexRoute component={LoginPage} />
<Route path="login" component={LoginPage}/>
<Route path="crm" component={CRMContainer}>
<Route path="campaigns" component={CRMModuleCampaigns}>
<Route path=":action" component={CRMModuleCampaigns} />
</Route>
</Route>
</Route>
</Router>
</Provider>,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment