Angularjs 具有Angular CLI的Web应用程序不显示引导sass图标

Angularjs 具有Angular CLI的Web应用程序不显示引导sass图标,angularjs,twitter-bootstrap,angular,angular-cli,bootstrap-sass,Angularjs,Twitter Bootstrap,Angular,Angular Cli,Bootstrap Sass,我有一个使用Angular CLI创建的应用程序,我正在使用bootstrap sass自定义主题。我正在使用以下版本 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 在我的.angular cli.json中 "scripts": [ "../node_modules/jquery/d

我有一个使用Angular CLI创建的应用程序,我正在使用
bootstrap sass
自定义主题。我正在使用以下版本

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
在我的
.angular cli.json

"scripts": [
    "../node_modules/jquery/dist/jquery.min.js",
    "../node_modules/bootstrap-sass/assets/javascripts/bootstrap.min.js"
  ]
在我的
html
文件中

<span class="glyphicon glyphicon-user"></span>

运行
ng serve
ng build
时没有错误,并且应用程序在浏览器控制台中正确运行,没有错误。但是,图标仍然不显示。我最初让这个应用程序在正确显示glyph图标的情况下运行,然后我将核心应用程序代码迁移到一个新的
angularcli
应用程序中。有什么我遗漏的吗?

这似乎是
网页
angular cli
中的方式有问题。目前,您可以通过指向
scss
文件中的引导CDN字体来解决此问题

$bootstrap-sass-asset-helper: false;
$icon-font-path: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/";

添加结束跨距标记,尝试将@import作为第一行。。有什么变化吗?@ArrowHead,我的代码中有它,只是忘了在这里添加它。@federico,它需要在底部。如果您确实需要(“../node\u modules/bootstrap sass/assets/stylesheets/\u bootstrap.scs”)??
$bootstrap-sass-asset-helper: false;
$icon-font-path: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/";