I m actually developping an application using Fuxible and Reactjs and I m facing a problem.
In fact, I need to create a route in ./configs/routes.js that isn't in the top menu bar.
I need this route to be accessible with parameters like :id .
Here's a standard route that I use :
detail: {
path: '/product/1/details',
method: 'get',
page: 'productDetail',
title: 'product detail',
handler: require('../components/product/ProductDetail')
}
What I need is to make something like :
detail: {
path: '/product/:id/details',
method: 'get',
page: 'productDetail',
title: 'product detail',
handler: require('../components/product/ProductDetail')
}
BUT without adding it to he top navbar menu (that is automagically generated by Fluxible)
Actually, the fact that I have :id in the url throw me a weird error like this one :
NavLink created without href or unresolvable routeName 'detail'
How can I proceed ?