Search code examples
twitter-bootstrapbowerlaravel-5compasslaravel-elixir

Laravel-Elixir with Bootstrap SASS and Compass


I want to use Bootstrap SASS and Compass in Laravel 5.

For this, I need to install Bower and add the packages like:

bootstrap-sass-official

But I'm not finding the official Compass package for install by Bower.

Which the official Compass package to Bower?

Or it doesn't exist?

Bower Compass search results


Solution

  • I found a good way to resolve a problem that I had before. It was the gem compass.

    install Compass

    Once installed, there are more steps.

    Install npm laravel-elixir-sass-compass

    laravel-elixir-sass-compass

    npm install laravel-elixir-sass-compass
    

    if you are using Twitter Bootstrap, you can follow the great post down:

    Setting up Laravel Elixir with Bootstrap

    My final gulpfile.js:

    gulpfile.js

    And my app.scss:

    app.scss

    Thanks!