You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
Thats probably not the best way to do that as you are loading the css after the JS has already run which means the css wont load until after your site is loaded and running. Your users will probably get FOUT which might not be a fast flash.
@noortotah you should probably try another approach. There are other options to lazy load CSS files like filamentgroup/loadCSS or any other alternatives. In your case you need to have at least Angular to be injected in your page before applying the CSS file.
It might be helpful to have a third CSS file with all fonts and text styles to be loaded at first.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
in my index.html
The text was updated successfully, but these errors were encountered: