【发布时间】:2016-05-03 18:07:06
【问题描述】:
我使用 bower 安装了 'font-awesome' css 包。然后我将凉亭组件路径添加到我的 html 中:
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<!-- build:css(.) styles/vendor.css -->
<!-- bower:css -->
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="bower_components/animate.css/animate.css" />
<link rel="stylesheet" href="bower_components/bootstrap-duallistbox/src/bootstrap-duallistbox.css" />
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css" />
<!-- endbower -->
<!-- endbuild -->
<!-- build:css(.tmp) styles/main.css -->
当我运行 grunt serve 时,字体真棒样式表消失了!
我正在做一个由 yeoman 搭建的 Angular 项目。
【问题讨论】:
标签: html css angularjs gruntjs yeoman