import type { RouterOptions } from 'nuxt/schema' import { defineComponent } from 'vue' export default { routes (_routes) { return [ { name: 'catchall', path: '/:catchAll(.*)*', component: defineComponent({ name: 'catchall', setup: () => () => ({}), }), }, ] }, }