I have a component that requires a custom font as a dependency. I\'d like the component to handle the import of the fonts itself so it\'s portable. Also, our projects are us
If you put files in /assets folder (inside src folder), you can refer the font with:
@font-face { font-family: "Custom Font"; src: url("/assets/my-custom-font.woff") format("woff") }
and then use it in the html.