KKMWDN
KKMWDN
  • 发布:2023-04-27 16:01
  • 更新:2023-05-24 16:50
  • 阅读:313

npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project中的Nvue

分类:nvue

npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project
创建的项目怎么使用Nvue我使用发现报错X [ERROR] No matching export in "dist/dev/.nvue/pages/index/index.js" for import "default"
15:56:25.892 <stdin>:1:7:
15:56:25.893 1 │ import App from './pages/index/index.js'
15:56:25.897 ╵ ~~~
15:56:25.900 [plugin:uni:app-nvue-esbuild] Build failed with 1 error:
15:56:25.903 <stdin>:1:7: ERROR: No matching export in "dist/dev/.nvue/pages/index/index.js" for import "default"

2023-04-27 16:01 负责人:无 分享
已邀请:
c5454

c5454 - uni-app 使用者

也遇到为题了,cli项目报同样的错误,也是注册nvue页面就报错

c5454

c5454 - uni-app 使用者

楼主解决了吗??求解,谢谢!

Revonic

Revonic

遇到同样的问题了,请问解决了吗

  • c5454

    无解

    2023-05-20 16:20

c5454

c5454 - uni-app 使用者

还有人遇到吗?求解求解

c5454

c5454 - uni-app 使用者

没人知道吗?

c5454

c5454 - uni-app 使用者

咋整

  • Revonic

    还是用 vue 吧,nvue 再见

    2023-05-27 11:27

  • c5454

    回复 Revonic: 最新测试版已正常

    2023-06-20 11:02

要回复问题请先登录注册