Arsenal
Arsenal
  • 发布:2023-01-30 09:38
  • 更新:2023-02-23 10:22
  • 阅读:491

uni-app cli 3.0.0-3061820230117001 的 easycom 功能失效

分类:uni-app

用的是:uni-app cli、Vue3 组合式写法、TS、Vite,基于package.json 部分配置如下:

  "dependencies": {  
    "@dcloudio/uni-app": "3.0.0-3061820230117001",  
    "@dcloudio/uni-app-plus": "3.0.0-3061820230117001",  
    "@dcloudio/uni-components": "3.0.0-3061820230117001",  
    "@dcloudio/uni-h5": "3.0.0-3061820230117001",  
    "@dcloudio/uni-mp-alipay": "3.0.0-3061820230117001",  
    "@dcloudio/uni-mp-baidu": "3.0.0-3061820230117001",  
    "@dcloudio/uni-mp-kuaishou": "3.0.0-3061820230117001",  
    "@dcloudio/uni-mp-lark": "3.0.0-3061820230117001",  
    "@dcloudio/uni-mp-qq": "3.0.0-3061820230117001",  
    "@dcloudio/uni-mp-toutiao": "3.0.0-3061820230117001",  
    "@dcloudio/uni-mp-weixin": "3.0.0-3061820230117001",  
    "@dcloudio/uni-quickapp-webview": "3.0.0-3061820230117001",  
    "@dcloudio/uni-ui": "^1.4.24",  
    "pinia": "^2.0.28",  
    "vue": "^3.2.45",  
    "vue-i18n": "^9.1.9"  
  },  
  "devDependencies": {  
    "@dcloudio/types": "^3.2.7",  
    "@dcloudio/uni-automator": "^3.0.0-3061820230117001",  
    "@dcloudio/uni-cli-shared": "^3.0.0-3061820230117001",  
    "@dcloudio/uni-stacktracey": "^3.0.0-3061820230117001",  
    "@dcloudio/vite-plugin-uni": "^3.0.0-3061820230117001",  
    "@vue/tsconfig": "^0.1.3",  
    "sass": "^1.57.1",  
    "sass-loader": "^13.2.0",  
    "typescript": "^4.9.4",  
    "vite": "4.0.4",  
    "vue-tsc": "^1.0.24"  
  }

无论是 esaycom 里的 autoscan 还是 custom,都不起作用

2023-01-30 09:38 负责人:无 分享
已邀请:
大工程

大工程

配置相同,遇到相同的问题,请问题主解决了吗?

  • Arsenal (作者)

    试试升级 @dcloudio/xxxx 的版本

    2023-02-23 10:35

  • 大工程

    回复 Arsenal: 嗯,升级到3.0.0-3070320230222002这个版本没问题了

    2023-02-23 11:16

要回复问题请先登录注册