davidnotes
davidnotes
I have used the following code to generated an iconfont from two svgs. ``` gulp.task('generateFontsFromSvg',function(){ var fontName = 'newcore-'+ Date.now(); return gulp.src(['app/base/svg/*.svg']) .pipe(iconfontCss({ fontName: fontName, path: 'app/base/svg/_icons.scss', targetPath: '../svg.scss', fontPath:...
I have used the following code to generated an iconfont from two svgs. ``` gulp.task('generateFontsFromSvg',function(){ var fontName = 'newcore-'+ Date.now(); return gulp.src(['app/base/svg/*.svg']) .pipe(iconfontCss({ fontName: fontName, path: 'app/base/svg/_icons.scss', targetPath: '../svg.scss', fontPath:...