【问题标题】:Using Foundation With Yeoman将 Foundation 与 Yeoman 一起使用
【发布时间】: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.

【问题讨论】:

    标签: yeoman gruntjs


    【解决方案1】:

    我刚刚习惯了 Yeoman 和 Foundation。但是您不应该添加 标签以便 grunt 识别您打算使用“基础”吗?

    From Yeoman getting started.

    yo angular 
    bower install angular-ui
    # then add <script src="components/angular-ui/build/angular-ui.js"></script>
    # and <link rel="stylesheet" href="components/angular-ui/build/angular-ui.css"/>
    grunt
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-27
      • 2012-11-05
      • 2011-01-05
      相关资源
      最近更新 更多