How to customize routing in nuxt, or how to achieve route redirection?

nuxt projects generate routes based on the folder directory. Now in the news section of the folder, the _ id file has been used as the news content details page. Now a new page is added, which also needs to search and classify according to the news id. After adding an underlined file, clicking on the news list will still jump to the _ id file. How to customize the route so that all routes point to
/ news/ current id?

clipboard.png

look at the document, there is extendRoutes configuration

export default {
  router: {
    extendRoutes (routes, resolve) {
      routes.push({
        name: "custom",
        path: "*",
        component: resolve(__dirname, "pages/404.vue")
      })
    }
  }
}

but what if this configuration makes both underscore _ id files point to the same route?

Sep.27,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2dece-2bbe2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2dece-2bbe2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?