Gruntjs 如何在mean.io堆栈中集成无grunt引导
我想建立我自己编译的css文件 使用无源引导文件 在我的项目中,我使用堆栈 如何在平均堆栈中进行较少的集成 我在那里发现了很多工具 像 所以我有点困惑^^ 我也对一些教程感到满意 更新 我最终使用了 手工复制文件 /less/bootstrap.less /less/variables.less 在我的src文件夹中 src/less 而不是我的咕噜文件Gruntjs 如何在mean.io堆栈中集成无grunt引导,gruntjs,mean-stack,mean.io,Gruntjs,Mean Stack,Mean.io,我想建立我自己编译的css文件 使用无源引导文件 在我的项目中,我使用堆栈 如何在平均堆栈中进行较少的集成 我在那里发现了很多工具 像 所以我有点困惑^^ 我也对一些教程感到满意 更新 我最终使用了 手工复制文件 /less/bootstrap.less /less/variables.less 在我的src文件夹中 src/less 而不是我的咕噜文件 less: { bootstrap: { options: {
less: {
bootstrap: {
options: {
strictMath: true,
sourceMap: true,
outputSourceFiles: true,
sourceMapURL: '<%= pkg.name %>.css.map',
sourceMapFilename: '<%= distdir %>/css/<%= pkg.name %>.css.map'
},
files: {
'<%= distdir %>/css/<%= pkg.name %>.css': '<%= src.src %>/less/bootstrap.less'
}
}
}
更少:{
引导:{
选项:{
是的,
sourceMap:true,
outputSourceFiles:true,
sourceMapURL:“.css.map”,
sourceMapFilename:“/css/.css.map”
},
档案:{
“/css/.css”:“/less/bootstrap.less”
}
}
}
在我的变量中,我能做的更少
//** Background color for `<body>`.
@body-bg: #F70E29;
//** Global text color on `<body>`.
@text-color: #F70E29;
“``的背景色。
@车身背景:F70E29;
//**“``上的全局文本颜色。
@文字颜色:#F70E29;
我有史以来最酷的bg体色:)