component: () => import('@/views/xxxx/index')

改为
记得不是单引号而是esc下面~的标识符·

    component: (resolve) => require([`@/views/${xxxxx}/index`], resolve),
Logo

前往低代码交流专区

更多推荐