Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

198
Views
Custom page name instead of the default "index.vue" in nuxt.js

is it possible to access a specific page by using a .vue file having a custom name instead of the default index.vue?

E.g.

pages/
--| favorites/
-----| _id.vue
-----| list.vue

so that, when going to /favorites route it actually renders pages/favorites/list.vue file.

How can I do that?

Thanks

P.s. the menu I have to access my pages is as following:

<v-list-item
  v-for="(item, i) in $t('menu.items')"
  :key="i"
  :to="item.to"
  router
  exact
  active-class="default-class menu-custom-active"
>
  <!-- ... -->
</v-list-item>
menu: {
    items: [
      {
        title: 'Home',
        to: '/'
      },
      {
        title: 'Favorites',
        to: '/favorites'
      },
    ]
  },
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!