funkhaus / fuxt

A complete Headless WordPress tech stack built on Nuxt.
219 stars 28 forks source link

Use the fontsLoaded store event to add a class to html when all fonts loaded #86

Open drewbaker opened 6 months ago

drewbaker commented 6 months ago

Webfontloader doesn't add classes to anymore due to Vue overwriting them. So would be good to add that back in using Vue and the store events.

https://github.com/search?q=repo%3Afunkhaus%2Fmjz-frontend%20fontsLoaded&type=code