Giter Site home page Giter Site logo

Bourbon support in Rails project about csscss HOT 6 CLOSED

 avatar commented on June 8, 2024
Bourbon support in Rails project

from csscss.

Comments (6)

zmoazeni avatar zmoazeni commented on June 8, 2024

Thanks for the report @datacoup. I don't know much about bourbon.io so I'll need to tinker a little. And might ask more questions.

from csscss.

Melindrea avatar Melindrea commented on June 8, 2024

Do you have a config.rb with that as a requirement in it?

This issue is coming down from Sass - it needs to know to require the gems. If your config.rb isn't in the folder that you're wanting to run csscss, use --compass-with-config to specify the path to it.

from csscss.

zmoazeni avatar zmoazeni commented on June 8, 2024

Thanks @Melindrea great idea. Though I'm not fond of using a switch with compass for non-compass stuff. I'll keep the conversation going in #54

from csscss.

zmoazeni avatar zmoazeni commented on June 8, 2024

@datacoup I just released v1.3.0 with a new --require path/to/file.rb flag. That should let you bootstrap bourbon. /cc @kaishin

from csscss.

kaishin avatar kaishin commented on June 8, 2024

@datacoup @zmoazeni Thanks guys for bringing this up. I tried --require with a config.rb file and it's working like a charm.

# in config.rb
require 'bourbon'
require 'neat'

And the command:

csscss --require config.rb application.css.scss

For now, that'll do it.

from csscss.

 avatar commented on June 8, 2024

@zmoazeni Thanks for making it awesome. And thanks @Melindrea for initial idea. Easy and elegant

from csscss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.