w3tecch / aurelia-typescript-boilerplate

A starter kit for building a standard navigation-style app with Aurelia, typescript and webpack by @w3tecch
18 stars 6 forks source link

Bootstrap icons don't work #4

Closed danclarke closed 7 years ago

danclarke commented 7 years ago

If you add a Bootstrap icon to a template, it'll appear as a square.

For example:

<p><span class="glyphicon glyphicon-search" aria-hidden="true"></span></p>

Results in a square on the page instead of the magnifying glass.

dweber019 commented 7 years ago

I'll check into that but I'm actually using font awesome.

danclarke commented 7 years ago

Thanks. A workaround I have for now is to ensure the glyphicons fonts are copied to 'fonts/bootstrap' and added the following to the top of _variables.scss:

$icon-font-path: '/fonts/bootstrap/';

@function font-path($path) {
  @return $path;
}
dweber019 commented 7 years ago

Thanks for the hint