According to that answer, the following code should render an icon with Vuetify
:
<v-icon>
arrow_downward
</v-icon>
It doesn't, instead I see "alarm_on" in plain text in the middle of a blue rectangle. No error in console, using Vuetify
2.0.0 and Vue
2.6.10. Below is how I add Vuetify to my project:
// Vue import Vue from 'vue';
// Vuetify
import '@mdi/font/css/materialdesignicons.css';
import Vuetify from 'vuetify/lib';
Vue.use(Vuetify);
export default new Vuetify({
icons: {
iconfont: 'mdi'
},
});
Any idea why icons don't work?