ecamp / ecamp3

eCamp v3 is a web-based app for camp and course planning. The application is specialized for camps and courses of youth associations and for Y+S offers in the sport of camp sports/trekking.
https://ecamp3.ch
GNU Affero General Public License v3.0
110 stars 48 forks source link

Consider using @mdi/js instead of @mdi/font #2991

Open usu opened 1 year ago

usu commented 1 year ago

@mdi/font imports every icon, while @mdi/js imports used icons only

The recommended method would be to use @mdi/js:

from https://dev.materialdesignicons.com/getting-started:

Using the webfont while easy to use is highly discouraged due to performance and overall request size. Please read the Webfont Alternatives Guide for more details.

Usage in Vuetify: https://vuetifyjs.com/en/features/icon-fonts/#material-design-icons-js-svg https://vuetifyjs.com/en/components/icons/#mdi-svg

manuelmeister commented 1 year ago

I think we could also go this way: https://github.com/antfu/unplugin-icons

Iconify is very cool and has a big range of different icon sets. It is developed by a core member of vue, vite and nuxt

carlobeltrame commented 1 year ago

And vuetify supports that?