Skip to content
Advertisement

vuetify v-chip close icon not showing

I have just upgraded vuetify from 1.5 to latest 2.1.12. My v-chips are now missing their close icons. They are simply not visible.

Even if I create a very simple v-chip I don’t see the icon. This is an example of a chip:

JavaScript

In version 1.5 of vuetify I can see that the “close” prop makes the html render a div inside the chip with class “v-chip__close” but there is no such html for the chip in v2.1.12 hence I do not see the close button.

Also, the “sort arrow icon” and the “next/previous page icon” in the data-table headers are also not showing. I sort of suspect that it is the for same reason.. In this case though, tables are sortable and it is possible to switch page, at least the “change page” icon is there but it is not visible..

Update: Checkboxes and radiobuttons are not visible either. They are there and clickable but not visible..

app.js:

JavaScript

Any suggestions what I could test or change to maybe make it work?

Update Since fontawesome wasn’t used (probably added by previous developer at some stage) I removed the file icons.js compeletely and commented the imports. Standard icons are still not showing though..

Updated app.js (where fontawesome-stuff is commented)

JavaScript

Update Solution I added this to my app.js and now it seems to be working:

JavaScript

Advertisement

Answer

Problem solved thanks to the input I had. I had to use “md” as iconfont, see first post.

Advertisement