yo mobile
트위터 부트 스트랩 지원과 함께 애플리케이션을 구축했습니다. 그러나 /styles/vendor/fonts
폴더가 없으므로 glyphicons를 사용할 수 없습니다. (글리프 아이콘이 http://localhost:3333/styles/vendor/fonts/glyphiconshalflings-regular.woff
이라고 크롬 네트워크 탭에서 볼 수 있기 때문에 glyphicons가 /styles/vendor/fonts
안에 있어야한다는 것을 알고 있습니다.)트위터 부트 스트랩이있는 Yeoman mobile : glyphicons가 누락되었습니다.
실제로 글리 핀 콘은 /bower_components/bootstrap/dist/fonts
폴더 안에 있습니다. 이 글꼴을 /styles/vendor/fonts
에 복사하여 붙여 넣기 만하면됩니다. 하지만 여군은 내게 여분의 복사 붙여 넣기를하지 않아야한다고, 라이트?
그래서 질문은 : glyphicons가 /styles/vendor/fonts
폴더에 나타나도록 내 구성을 수정하는 방법이 있습니까?
compass: {
options: {
sassDir: '<%= yeoman.app %>/styles',
cssDir: '.tmp/styles',
generatedImagesDir: '.tmp/images/generated',
imagesDir: '<%= yeoman.app %>/images',
javascriptsDir: '<%= yeoman.app %>/scripts',
/*fontsDir: '<%= yeoman.app %>/styles/fonts',*/
importPath: '<%= yeoman.app %>/bower_components',
httpImagesPath: '/images',
httpGeneratedImagesPath: '/images/generated',
httpFontsPath: '/styles/fonts',
relativeAssets: false
},
dist: {},
server: {
options: {
debugInfo: true
}
}
},
감사합니다. –