I am using vuetify framework in the nuxt.js ecosystem and there's a problem! https://cdn.jsdelivr.net is blocked by my country Iran and every time user wants to load the Vue application it stuck loading this URI. so I want to use mdi icons locally in my app and somehow store them in the static directory or elsewhere.
Please let me know how can I avoid mdi CDN and use it just like another global CSS via nuxt.config.js
Nuxt Config
css: [
'@/assets/main.css',
'@mdi/font/css/materialdesignicons.css'
],
vuetify: {
rtl: true,
lang: {
locales: {
fa
},
current: 'fa'
},
options: {
customProperties: true,
},
theme: {
light: true,
themes: {
light: {
primary: '#15977D',
secondary: '#205072',
accent: '#82B1FF',
error: '#FF5252',
danger: '#f62d51',
success: '#36bea6',
warning: '#FFC107'
},
},
},
customVariables: ['~/assets/variables.scss'],
icons: {
iconfont: 'mdi',
},
},
