I added Google fonts link in styles.scss
file of Angular project.
@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700');
But It already works with Angular CLI command ng serve
, but, trying to build up command ng build --prod --base-href
deployed the project. Then noticed the issues.
The issue is it "didn't work with import google font".
I'm researching for this issue on google. but I didn't find a good solution.
I want to know how do apply the google font in an angular project?