1.新建uniappx项目
2.按文档新建uts标准组件native-button
3.页面直接引用native-button运行报错

- 发布:2024-11-26 22:44
- 更新:2024-11-27 15:36
- 阅读:150
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 11
HBuilderX类型: Alpha
HBuilderX版本号: 4.36
手机系统: Android
手机系统版本号: Android 14
手机厂商: 小米
手机机型: 小米6
页面类型: nvue
vue版本: vue3
打包方式: 离线
项目创建方式: HBuilderX
操作步骤:
预期结果:
报 warning: Cannot find module '@/uni_modules/native-button' or its corresponding type declarations.
报 warning: Cannot find module '@/uni_modules/native-button' or its corresponding type declarations.
实际结果:
warning: Cannot find module '@/uni_modules/native-button' or its corresponding type declarations.
warning: Cannot find module '@/uni_modules/native-button' or its corresponding type declarations.
bug描述:
uniappx 新建uts插件native-button报错,按文档步骤来的,运行就报warning: Cannot find module '@/uni_modules/native-button' or its corresponding type declarations.
