Comments (8)
Does redacted path contain spaces?
from ember-cli-compass-compiler.
no. Thanks for getting back to me so quickly!
from ember-cli-compass-compiler.
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.
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.
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.
Thanks, I'll take a look, not on my computer now.
from ember-cli-compass-compiler.
@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.
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)
- Asset subdirectories should compile to local path HOT 4
- Error when trying to build HOT 10
- 'ember-cli-sass-and-compass-compiler' should be the name for the repo HOT 2
- Default precision for compass is 5 -- need to increase it HOT 2
- Latest broccoli-funnel causes files to go in the wrong directory HOT 2
- CSS gets minified twice HOT 2
- Compile separated files? HOT 4
- Compiler executing twice HOT 2
- Ignore unrelated imported files
- Wrong output filename on Windows HOT 2
- Environment Variables HOT 1
- compiler works on windows environment but not on mac HOT 4
- Does not work with ember-component-css
- Is it supposed to be that slow? HOT 5
- Doesn't copy to [appname].css HOT 12
- Error: File not found: /app/styles/app.scss HOT 5
- can't get this to work in new ember app
- Compass Compile error when pushing to heroku HOT 3
- Not finding any sass files HOT 2
- CompassCompiler error due to invalid Compass option HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-compass-compiler.