element-plus / element-plus-icons

Main package for storing Element Plus icon resources.
MIT License
138 stars 100 forks source link

import icon error #39

Closed yeyujingren closed 2 years ago

yeyujingren commented 2 years ago

version

"@element-plus/icons-vue": "^1.1.4",
"element-plus": "^1.0.2-beta.45",
"vue": "^3.0.5"

error log

[vite] error while updating dependencies:
Error: Build failed with 565 errors:
node_modules/@element-plus/icons-vue/dist/es/add-location.mjs:1:37: error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "createElementBlock"
node_modules/@element-plus/icons-vue/dist/es/add-location.mjs:1:57: error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "createElementVNode"
node_modules/@element-plus/icons-vue/dist/es/aim.mjs:1:37: error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "createElementBlock"
node_modules/@element-plus/icons-vue/dist/es/aim.mjs:1:57: error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "createElementVNode"
node_modules/@element-plus/icons-vue/dist/es/alarm-clock.mjs:1:37: error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "createElementBlock"
sxzz commented 2 years ago

Please use latest Vue (Vue 3.2.x)