By default vuetify requires material icons and requesting the icon lib in China may be blocked.
1
yarn add @mdi/font -D
vuetify.js
1 2 3 4 5 6 7 8 9 10 11 12
// src/plugnis/vuetify.js import '@mdi/font/css/materialdesignicons.css' // Ensure you are using css-loader import Vue from 'vue' import Vuetify from 'vuetify/lib'
Vue.use(Vuetify)
export default new Vuetify({ icons: { iconfont: 'mdi', // default - only for display purposes } })