Vulcan
Vulcan copied to clipboard
Adding routes with no name leads to unexpected behaviour
trafficstars
If I do this, I get 404 on the first 2 routes:
import MeetupCreation from '../components/MeetupCreation';
import MeetupList from '../components/MeetupList'
import MeetupAdminList from '../components/MeetupAdminList'
addRoute({ path: '/create', component: MeetupCreation })
addRoute({ path: '/list', component: MeetupList })
addRoute({ path: '/admin/list', component: MeetupAdminList })
Only the last route is created.
Edit: the issue is the lack of a name, it should raise a warning or use the "/path" as the default name
Might need to merge https://github.com/VulcanJS/Vulcan/pull/2389 before we fix this
Hey, I would like to work on this issue , is it still open?