I want to use icons-vue
so i installed with this command: yarn add @element-plus/icons-vue
CodePudding user response:
You would require to use unplug-elementplus plug in (https://github.com/element-plus/unplugin-element-plus).
And manually import icons in any component to take full advantage of tree shaking.
Please refer to https://element-plus.org/en-US/guide/quickstart.html#manually-import
Also, note that element plus is built for vue3