我通过凉亭(bower install foundation)在我的bower_components中有了基础。
我的Gruntfile.js中也有grunt-wiredep,如下所示:
wiredep: {
dev: {
src: ['<%= FILE_PATHS.client %>/index.html']
}
}
另外,我的index.html
<!-- bower:css -->
<!-- endbower -->
运行grunt wiredep:dev后,注入了foundation.js,但没有注入foundation.css或foundation.scss
我是否错过了使用wiredep配置的内容?它似乎拿起了font-awesome.css,但不是基础?
此问题是否与最新版本的Bootstrap http://blog.getbootstrap.com/2015/06/15/bootstrap-3-3-5-released/
类似答案 0 :(得分:1)
所以,我应该首先尝试这个,但是类似于bootstrap,我需要添加一个覆盖特别是基础。
"overrides": {
"foundation": {
"main": [
"css/foundation.css",
"js/foundation.js"
]
}
}
谢谢,Sudheer提出你的建议。