-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorporate font loader module #639
Comments
Hi @Triloworld, In nuxt-font-loader a global configuration is loaded, which globally renders the font declarations into the web page. This has the disadvantage that per page/component all fonts defined per This allows us to massively streamline and control the initial loading process, since only the critical page-based resources are loaded. Does this explanation help you? Cheers |
This need some documentation! Yes indeed. Is this option work on component based? Component can have more than one font declared, one of them is in different media query and one is same as other component. Module can load lazy, by media query and know what is loaded to ignore loaded one. Thats the goal of module? |
Yes, that is one goal of this module. All parts of this module have an essential impact to the Lighthouse Performance Score. Thanks for your feedback. We will describe it in a more detailed way in our documentation as soon as possible. |
Font loading is now only:
What we see in our and other project is based on the module: https://www.npmjs.com/package/nuxt-font-loader
Final result:
What is different from nuxt-loader-loader can't? Can this be documented if there is some?
"completely new approach of font declaration" <- why needed if we have working and future proof one? Maybe I missing some point there
The text was updated successfully, but these errors were encountered: