dcloudio / dcloudio/uni-app

vite+vue3使用unplugin-icons报错

Open
#4,991 3 comments 0 reactions 0 assignees View on GitHub
vue3 不明确 vue版本或者运行平台 不明确复现步骤、未提供复现工程
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

报错:`"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"`
```ts
import Icons from 'unplugin-icons/vite'

export default defineConfig(async ({ mode, command }) => {
return {
plugins: [
Icons(),
],
}
})

```
如下使用:
```html

```

版本:3.0.0-alpha-4010520240507001

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.