Home > Software design >  How can i use icons from vuejs3?
How can i use icons from vuejs3?

Time:12-16

I want to use icons-vue so i installed with this command: yarn add @element-plus/icons-vue

this is the documentation: enter image description here

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

  • Related