Bootstrap 3.3.5 的字形未显示在 ember-cli 项目中
Glyphicons of Bootstrap 3.3.5 not displayed in an ember-cli project
我已经在 ember-cli 项目中将 bootstrap-sass 更新到版本 3.3.5,因为不再显示字形。相反,我有 "square" 个字符。
我已经安装了 bootstrap-sass 和 bower。
在我的 brocfile.js 中,我以这种方式包含了 bootstrap-sass:
app.import('bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js');
app.import('bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2', {destDir: '/fonts/bootstrap'});
我在 bootstrap-sass 3.3.4.
中没有这个问题
糟糕。似乎工作。我想我弄错了路径名。
我已经在 ember-cli 项目中将 bootstrap-sass 更新到版本 3.3.5,因为不再显示字形。相反,我有 "square" 个字符。
我已经安装了 bootstrap-sass 和 bower。 在我的 brocfile.js 中,我以这种方式包含了 bootstrap-sass:
app.import('bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js');
app.import('bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2', {destDir: '/fonts/bootstrap'});
我在 bootstrap-sass 3.3.4.
中没有这个问题糟糕。似乎工作。我想我弄错了路径名。