glyphicons not showing with sass bootstrap integration

后端 未结 14 1702
滥情空心
滥情空心 2021-01-17 10:01

I used this tutorial to integrate bootstrap in my project:

https://laravel-news.com/2015/10/setup-bootstrap-sass-with-laravel-elixir/

This places an app.css

14条回答
  •  感情败类
    2021-01-17 11:02

    Try something like:

    var gulp = require('gulp');
    
    gulp.task('fonts', function() {
       gulp.src('.node_modules/bootstrap-sass/assets/fonts/bootstrap/fonts/*.{ttf,woff,eof,svg,woff2}')
       .pipe(gulp.dest('public/css/fonts'));
    });
    

    and then add

    mix
    //other scripts
    .task('fonts')
    

提交回复
热议问题