7***@qq.com
7***@qq.com
  • 发布:2022-06-05 22:13
  • 更新:2023-02-21 20:30
  • 阅读:400

vue3 manifest.json > h5 > async > loading 自定义组件不生效

分类:uni-app

manifest.json

 {  
 "h5": {  
    "async": {  
      "loading": "Loading",  
      "error": "AsyncError",  
      "delay": 0,  
      "timeout": 3000  
    },  
 }  
}

main.ts

import Loading from '@/components/Loading/Loading.vue';  

export function createApp() {  
  const app = createSSRApp(App);  
  app.component('Loading', Loading);  
  return {  
    app,  
  };  
}  
2022-06-05 22:13 负责人:无 分享
已邀请:
三水sanshui

三水sanshui - sanshui

哥们你解决了吗?

4***@qq.com

4***@qq.com

一样问题

y***@163.com

y***@163.com

要回复问题请先登录注册