emiliogrv / nativescript-vue-router

A simple router implementation that is suitable for NativeScript-Vue.
14 stars 1 forks source link

route naming convention #4

Open eugv86 opened 4 years ago

eugv86 commented 4 years ago

@emiliogrv Is there a particular reason for naming the routes "dashboard.index" with the .index?

emiliogrv commented 4 years ago

@eugv86 nope, there isn't, that's just a name that I like, you can use your own style to name them

eugv86 commented 4 years ago

Thanks for the response. I'm just trying to figure out why this peace of code never matches for me reduce(router.vue, '$options.name') === reduce(route, 'component.name')