antonreshetov / vue-unicons

1000+ Pixel-perfect svg icons for your next project as Vue components
https://antonreshetov.github.io/vue-unicons/
MIT License
998 stars 54 forks source link

Name of the icon is not correct #57

Closed dinacuatro closed 2 years ago

dinacuatro commented 2 years ago

I have just installed the module in my vue project.

Vue version: 2.6.10 Vue unicons version: 3.3.1

Using the following code everything is fine:

<unicon name="car-wash" fill="limegreen"></unicon>
<unicon name="layer-group" fill="royalblue" icon-style="monochrome"></unicon>                   

However, when I use these icons (found on https://antonreshetov.github.io/vue-unicons/):

<unicon name="angle-up"></unicon>
<unicon name="wifi"></unicon>

I get empty placeholders, and the following errors in console:

Name 'angle-up' of the icon is not correct
Name 'wifi' of the icon is not correct

What do I miss?

dinacuatro commented 2 years ago

I found out the error, I realized just now that I had to add these icons:

import { uniWifi, uniAngleUp } from 'vue-unicons/dist/icons';