How to load a custom font locally into a symfony project?

  fonts, symfony, webpack-encore

I want to load IMG Plex font into a symfony project with webpack encore.

I imported it into my scss file:

@import "../fonts/IBM_Plex_Sans/IBMPlexSans-Regular.ttf";

But nothing changed. Only the cdn worked for me.

And yes I did not forgot to restart yarn encore dev –watch

Hope somebody can help.

Source: Symfony Questions