Static GitHub Issues

[3084] Possibility to change default route name

prev: error of npm run generate
next: target='_blank' disabled on links

I suggest the ability to change the default route name...

For example...

/pages/users/_id.vue names to users-id, but if I want to use just name "user" I cant, and the problem is that I had the route: /users/:id but I had to add then into folders to have /cars/users/:id, then I had do check every <nuxt-link> where I was using the name users-id and change to cars-users-id, if I had the possibility to change the default, this could be fixed quickly...

A suggestion is:

<script> export default { routeName:'user' } </script>
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2670">#c2670</a>)</em></sub></div>