create
create copied to clipboard
Add Roboto font as dependency instead of using Google-hosted fonts
This is a proposal to install the Roboto font as a dependency of create-vuetify instead of using Google-hosted fonts.
Current situation
- create-vuetify uses unplugin-fonts to load the Roboto font directly from Google servers (see unplugin-fonts config), which may violate GDPR or at least require user consent
- There is a dependency on roboto-fontface in package.json, but it is unused, as far as I can tell
- The font config is missing italic style (see #40)
Proposed improvement
A way to fix all of the above issues could be to use unplugin-fonts (existing dependency), add @fontsource/roboto
, remove roboto-fontface
, and adapt the unplugin-fonts config to use the locally installed Roboto font and also add italic style. See also detailed description in this issue comment.
I'd be happy to have a go at implementing this, but would first like to get some feedback about whether such a change would be welcomed by the maintainer(s) or not.