Custom @font-face is not included in SSR response #17921
Unanswered
chriswoodie
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm playing around with some fallback fonts to try and solve CLS issues:
This CSS is included in the Angular application like:
I remember other problems requiring the CSS to be minified with
minify
set totrue
:However, this has zero effect on my problem. The problem I've noticed is that the
@font-face
is included in the outputted CSS file which is being loaded after initial render, but it's not included in the SSR response's inlined styles.Does anyone know why this happens and how to fix it?
Beta Was this translation helpful? Give feedback.
All reactions