Fonts in Sage 9 - 9.0.0-beta.4

I’ve put the fonts into the resources/assets/fonts folder but have found referencing them just throws errors. Maybe there’s a trick to get them to work that I haven’t seen.

I’ve changed the theme directory, but also set that in the resources/assets/config.json. I’ve also tried to just move them into the images folder, but that’s not working either.

The sass file they’re called in is under resources/assets/styles/components/_fonts.scss

@at-root {
  // Import the fonts
  @font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-haflings-regular.eot');

Webpack throws errors on this as the fonts can’t be found. The live builder is throwing errors too. Is there a bug in the new beta?? Or a bug in me?

Is that the code you’re using? Why are you using @at-root? Any reason why you’re only loading an eot file, too?

What are the actual errors?

Sorry, PEBKAC. I had a typo in a section I thought was copied (haflings -> halflings). Explains why all the other steps didn’t help me! :smiley: