Open like0413 opened 2 months ago
报错:"createElementVNode" is not exported by "node_modules/.pnpm/@dcloudio+uni-mp-vue@3.0.0-alpha-4010520240507001/node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js"
"createElementVNode" is not exported by "node_modules/.pnpm/@dcloudio+uni-mp-vue@3.0.0-alpha-4010520240507001/node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js"
import Icons from 'unplugin-icons/vite' export default defineConfig(async ({ mode, command }) => { return { plugins: [ Icons(), ], } })
如下使用:
<i-ri:moon-line />
版本:3.0.0-alpha-4010520240507001
感谢反馈,具体是运行到哪个平台?提供下单页面源码吧
有类似的issue:https://github.com/dcloudio/uni-app/issues/4497
用官网方法创建项目:npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project vue版本:3.4.27 平台:微信小程序
npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project
报错:
"createElementVNode" is not exported by "node_modules/.pnpm/@dcloudio+uni-mp-vue@3.0.0-alpha-4010520240507001/node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js"
如下使用:
版本:3.0.0-alpha-4010520240507001