Coder Social home page Coder Social logo

Comments (8)

quaertym avatar quaertym commented on August 16, 2024

Does redacted path contain spaces?

from ember-cli-compass-compiler.

ccoenen avatar ccoenen commented on August 16, 2024

no. Thanks for getting back to me so quickly!

from ember-cli-compass-compiler.

ccoenen avatar ccoenen commented on August 16, 2024

Any working example (with images in scss) would help a lot. If you can whip up an empty, working shell project, i think i could understand it a lot easier.

from ember-cli-compass-compiler.

quaertym avatar quaertym commented on August 16, 2024

Creating an example repo is a good idea. I am not sure what the problem is though. How do you use images in your scss?

from ember-cli-compass-compiler.

ccoenen avatar ccoenen commented on August 16, 2024

excerpt from _base.scss (failure described above):

.icon{
  /* more declarations, here */
  &:before {
    background: image-url('aside-alerts-sprite.png') 0 0 no-repeat;
  }
}

the image is in <appname>/public/assets/images (not below /app but in the project root), this was done, to not put all assets through broccoli processing. But I'm gladly changing that, if it helps ;-)

from ember-cli-compass-compiler.

quaertym avatar quaertym commented on August 16, 2024

Thanks, I'll take a look, not on my computer now.

from ember-cli-compass-compiler.

quaertym avatar quaertym commented on August 16, 2024

@ccoenen Please do this and let's see if that works for you. Keep the directory structure as is, remove imagesDir option from compass options in Brocfile and in your .scss file use background: image-url('/assets/images/aside-alerts-sprite.png') 0 0 no-repeat; I think this is the least amount of work to make it work.

from ember-cli-compass-compiler.

ccoenen avatar ccoenen commented on August 16, 2024

That works. Thanks! We've upgraded vom 0.0.5 and previously, it seems, it worked with the short names when providing an imagesPath. Well, whatever it was, thank you very much for your support!

from ember-cli-compass-compiler.

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.