I have an application I created with Angular CLI, and I am using bootstrap-sass
to customize the theme. I am using the following versions...
node: 6.9.5
os: win32 x64
@angular/common: 2.4.8
@angular/cli: 1.0.0-rc.0
@angular/compiler-cli: 2.4.8
bootstrap-sass: 3.3.7
In my .angular-cli.json
I have
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/bootstrap-sass/assets/javascripts/bootstrap.min.js"
]
In my html
file I have
<span class="glyphicon glyphicon-user"></span>
In my scss
file I have
$bootstrap-sass-asset-helper: true;
$icon-font-path: if($bootstrap-sass-asset-helper, "../bootstrap/", "../fonts/bootstrap/");
@import "../node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss";
There are no errors when I run ng serve
or ng build
and the application runs correctly with no errors in the browser console. However, the icons still do not display. I originally had this application running with the glyphicons displaying properly, and then I migrated the core application code into a new angular-cli
application. Is there something I am missing?