周梦顺
周梦顺
  • 发布:2023-11-04 16:05
  • 更新:2023-11-04 16:05
  • 阅读:119

uniapp+vue3运行时构建报错,请问要怎么解决呢

分类:uni-app

在使用uniapp + vite + vue3 时报错如下,请问需要如何才能支持运行时构建:

[Vue warn]: Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".
at <Anonymous>
at <AsyncComponentWrapper>
at <View>
at <Index>
at <AsyncComponentWrapper>
at <PageBody>
at <Page>
at <Anonymous>
at <Layout>
at <App>

2023-11-04 16:05 负责人:无 分享
已邀请:

要回复问题请先登录注册