Custom font not loaded using style.ts but works when using style.scss

160
0
09-27-2021 10:41 PM
Muhammad_AzhaziqBin_Mohd_Azlan
New Contributor II

Hi,

I'm trying to add the following font @import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); via "style.ts". However, this does not work.

However if I used "style.scss" and call the import it works. Anyone encounter same issue?

0 Kudos
0 Replies