在vue3项目中使用Umo Editor 打包到生产环境报错 Key "xxxx" must be a async function

解决方法 111

target: 'es2018'
// vite.config.{ts,js}
// ..... other configurations
 build: {
      target: 'es2018',
      // .....other configurations
}
// .....other configurations

参考 https://github.com/umodoc/editor/issues/319

posted @ 2025-07-30 17:19  你丫才美工  阅读(111)  评论(0)    收藏  举报