2***@qq.com
2***@qq.com
  • 发布:2023-08-30 09:49
  • 更新:2023-08-30 10:23
  • 阅读:242

【 求助!】项目采用vue3(cli) + vite构建的项目 配置了 easycom后,打包生成不了 uni-ui

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: macOS 13.5.1 (22G90)

第三方开发者工具版本号: Visual Studio Code 版本: 1.81.1

基础库版本号: 3.0.0-3081220230817001

项目创建方式: CLI

CLI版本号: "vite": "4.1.4"

示例代码:
 "dependencies": {  
    "@dcloudio/uni-app": "3.0.0-3081220230817001",  
    "@dcloudio/uni-app-plus": "3.0.0-3081220230817001",  
    "@dcloudio/uni-components": "3.0.0-3081220230817001",  
    "@dcloudio/uni-h5": "3.0.0-3081220230817001",  
    "@dcloudio/uni-mp-alipay": "3.0.0-3081220230817001",  
    "@dcloudio/uni-mp-baidu": "3.0.0-3081220230817001",  
    "@dcloudio/uni-mp-jd": "3.0.0-3081220230817001",  
    "@dcloudio/uni-mp-kuaishou": "3.0.0-3081220230817001",  
    "@dcloudio/uni-mp-lark": "3.0.0-3081220230817001",  
    "@dcloudio/uni-mp-qq": "3.0.0-3081220230817001",  
    "@dcloudio/uni-mp-toutiao": "3.0.0-3081220230817001",  
    "@dcloudio/uni-mp-weixin": "3.0.0-3081220230817001",  
    "@dcloudio/uni-quickapp-webview": "3.0.0-3081220230817001",  
    "@dcloudio/uni-ui": "^1.4.23",  
    "@sadais/piui-tool": "^0.0.26",  
    "base-64": "^1.0.0",  
    "decimal": "0.0.2",  
    "firstui-uni": "^1.9.0",  
    "lodash": "^4.17.21",  
    "moment": "^2.29.4",  
    "pinia": "^2.0.32",  
    "pinia-plugin-persist-uni": "^1.2.0",  
    "thorui-uni": "^2.0.0",  
    "uni-ajax": "^2.4.5",  
    "vue": "3.3.4",  
    "vue-i18n": "9.2.2"  
  }

操作步骤:

升级3.0.0-3081220230817001 最新版本,然后打包运行 npm run dev:mp-weixin

预期结果:

生成:mp-weixin/node-modules/@dcloudio/xx组件

实际结果:

没有生成mp-weixin/node-modules/@dcloudio/xx组件

bug描述:

项目采用vue3(cli) + vite构建的项目 我升级3.0.0-3081220230817001版本后, 配置了 easycom后,打包生成不了node-modules/uni-ui

2023-08-30 09:49 负责人:无 分享
已邀请:
2***@qq.com

2***@qq.com (作者)

使用 3.0.0-alpha-3060720221018006 版本easycom配置是有效的,但是我升级npx @dcloudio/uvm 最新正式版本后,easycom配置就失效了,

要回复问题请先登录注册