c***@163.com
c***@163.com
  • 发布:2022-08-17 11:01
  • 更新:2022-08-18 14:27
  • 阅读:281

nvue not found 是啥意思

分类:uni-app

每次更新都必出问题。

10:57:00.825 pages/trash-delivery/delivery-cover.nvue not found
10:57:00.826 components/nvue/map-device-detail.nvue not found
10:57:00.826 components/nvue/map-tools.nvue not found
10:57:00.827 components/nvue/scan-code.nvue not found
10:57:00.827 pages/watermark-camera/camera.nvue not found
10:57:00.827 components/nvue/event-cover.nvue not found

不管是放在 components 目录下,还是页面目录下,都没法用。要咋弄???

编译器版本:3.5.3(vue3)
10:39:50.724 请注意运行模式下,因日志输出、sourcemap 以及未压缩源码等原因,性能和包体积,均不及发行模式。
10:39:50.753 正在编译中...
10:39:52.386 vite v2.9.12 building for development...

// 配置在页面目录下
"app-plus": {
"subNVues": [{
"id": "watermark-camera",
"path": "pages/watermark-camera/camera.nvue",
"type": "popup",
"style": {
"position": "absolute",
"top": "0",
"bottom": "0",
"background": "transparent"
}
}]
}

// 配置在components 目录下,都不行

"app-plus": {
"subNVues": [{
"id": "watermark-camera",
"path": "components/nvue/camera.nvue",
"type": "popup",
"style": {
"position": "absolute",
"top": "0",
"bottom": "0",
"background": "transparent"
}
}]
}

能不能别这么断崖式更新啊,老是出问题

2022-08-17 11:01 负责人:无 分享
已邀请:
DCloud_heavensoft

DCloud_heavensoft

组件的问题,你这个看起来是组件不符合easycom规范,https://uniapp.dcloud.net.cn/collocation/pages.html#easycom

页面的问题,每个页面都必须直接在pages.json里配置。你是只在subnvue里配了吗?

这应该和更新也没有关系。如果你认为有关系,就提供升级前后的2个版本和示例工程代码,我们排查下

  • c***@163.com (作者)

    我这个是 subNVue 啊,都配在 subNVues 里了啊

    2022-08-18 16:08

  • DCloud_heavensoft

    回复 c***@163.com: 那补充下详情,之前是什么hx版本,什么写法可以正常运行。现在3.5.3不正常了。最好提供一个示例工程

    2022-08-18 18:17

要回复问题请先登录注册