如何在 grunt js 文件 / windows 8 用户中定义 bourbon 和 neat?

How to define bourbon and neat in grunt js file / windows 8 user?

我正在尝试使用此代码,但出现重复使用 "loadPath" 的错误。

 options: {
           style: "compressed",
           sourcemap : true,
           loadPath: require('node-bourbon').includePaths,
           loadPath: require('node-neat').includePaths
    },

使用 node-neat 将 return Bourbon 和 Neat 的路径数组。试试这个:

options: {
  style: "compressed",
  sourcemap : true,
  loadPath: require('node-neat').includePaths
},