VueRouter many different routes from one .vue file

usually you would have a older and .vue for each route
like
/tags/[tag].vue
or
/about.vue

but I can do my who app in one file
so I just wanted to know how can I see all routes this one file
like
index.vue
for example

I have noticed [...all].vue
<router-link :to="{ name: '/', params: my_actual_page_name }">
  my_actual_page_name
</router-link>

so maybe this will work
Was this page helpful?