glyphicons not showing with sass bootstrap integration

后端 未结 14 1701
滥情空心
滥情空心 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 10:49

    This is what worked for me in Laravel 5.3 on Windows

    1. First make sure you are using the NodeJS package latest version (v6.7.0)

      Click the tab "Current Latest Features" at the URL https://nodejs.org/en/download/current/

    2. Run npm install

    3. Modify the file gulpfile.js to contain the following:

      elixir(mix => {
          mix.sass('app.scss')
             .webpack('app.js');
          mix.copy('node_modules/bootstrap-sass/assets/fonts/bootstrap/','public/fonts/bootstrap');
      });
      
    4. Run gulp:

      gulp
      
    5. Thats it.

提交回复
热议问题