How to extend the routes through the Nuxt module

Hi,
I have a problem with extending routes. As a component value I want to use dynamically loaded component, just like in iconPath. I don’t want to use norma path ('@Core/pages/test'). Is there any possibility to do it ?

nuxt.config.js

...
buildModules: [
   '~/modules/myModules',
],
extend(config, { isDev, isClient }) {
     const alias = config.resolve.alias || {};

     alias['@Core'] = PATH.join(__dirname, './modules/core');
}
...

myModules.js

import routers from './config/routes';

export default function () {
    this.extendRoutes((routes) => {
        routes.push(...routers);
    });
}

routes.js


export default [
    {
        name: 'test',
        path: '/test',
        component: () => import('@Core/pages/test'),
        meta: {
            access: true,
            title: 'Test',
            group: {
                title: 'Sources',
                menuPosition: 4,
                iconPath: () => import('@Core/components/Icons/testIcon'),
            },
        },
    },
];

ERROR

Could not compile template /Users/piotrbletek/Projects/frontend/node_modules/@nuxt/vue-app/template/router.js: args[0].includes is not a function