0
mirzanas created
Hi, I want to add google font to the global styling, from the project perspective looks like import (@import url('https://fonts.googleapis.com/css?family=Felipa')) could be added to the 'angular/src/styles.css', and it's work but only localy, after prod build doesn't, so how proparly should be added google fonts to the asp.net zero and other global style changing, and why after prod build 'styles.css' didn't import the font?
4 Answer(s)
-
0
I guess it is related to this issue, but the issue is still not solved.
https://github.com/angular/angular-cli/issues/10855
-
0
so how currently I could add new font?
-
0
You can copy font files to assets like this we do here https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/angular.json#L19
-
0
thanks for help!