【发布时间】:2013-03-04 13:24:28
【问题描述】:
我正在尝试使用 Yeoman 和 Foundation 构建一个 Web 项目。我已经创建了基本项目并使用 bower install foundation 包含了 Foundation 组件,但是当我运行 grunt server 时,它无法编译 Foundation 或将其移入应用程序树。如何让 Yeoman(或 grunt)识别和编译 Foundation?
我正在使用 Yeoman 1.0.0-beta.3。运行以设置项目的命令是:
npm install generator-angular generator-testacular
bower install foundation
yo angular --minsafe
npm install
bower install --dev
grunt server
但是 compass:server 任务报告 Nothing to compile. If you're trying to start a new project, you have left off the directory argument.
【问题讨论】: