在运行
以下是我的
grunt build
后,我在dist/styles
目录下没有fonts
文件夹。我做错了什么吗?以下是我的
Gruntfile.js
内容:
compass: {
options: {
sassDir: '<%= yeoman.app %>/styles',
cssDir: '.tmp/styles',
imagesDir: '<%= yeoman.app %>/../images',
javascriptsDir: '<%= yeoman.app %>/scripts',
fontsDir: '<%= yeoman.app %>/../styles/fonts',
importPath: 'app/bower_components',
relativeAssets: true,
},
dist: {
options: {
imagesDir: '<%= yeoman.dist %>/images',
fontsDir: '<%= yeoman.app %>/../styles/fonts'
}
},
server: {
options: {
debugInfo: true
}
}
},
dist
下的fontsDir
应该是yeoman.dist
而不是yeoman.app
吗? - dc5