Comments (8)
may be some info to Read.me - Usage ?
from compass-mixins.
I've imported as your import... and I agree that it seems wrong.
from compass-mixins.
easy way to add only compass stylsheets on project)
from compass-mixins.
Please add usage instructions on the readme file. I agree it is confusing to implement.
from compass-mixins.
@Igosuki ?
from compass-mixins.
I agree with the comments. It is not easy to understand how to configure compass-mixin.
it would be nice to have a more detailed tutorial about this plugin.
Thanks
from compass-mixins.
Why did this get closed? The instructions were never added.
from compass-mixins.
Was having trouble too, but here's how I got it to work:
- Install the module via npm.
- Inside the scss file, import the module, e.g. @import "../../../../node_modules/compass-mixins/lib/compass";
or if using bower:
-
add the module as a dependency in your bower.json file like so:
{
"name": "imprv-workflow",
"description": "Improved Workflow",
"main": "build/index.html",
"authors": [
"Kwesi Jnr."
],
"license": "MIT",
"homepage": "",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"compass-mixins": "~1.0.2"
}
} -
Run $ bower install
-
Import it the same way as stated above but with bower_components in the path, not node_modules:
@import "../../../../bower_components/compass-mixins/lib/compass";
I observed that using bower_components was slightly faster than node_modules.
from compass-mixins.
Related Issues (20)
- File to import not found or unreadable: compass HOT 1
- @elseif instead of @else if HOT 6
- mixins transition output compact function HOT 3
- font-face and font-files
- compass-mixins not translating background-image property correctly in browser
- Error while compiling with webpack HOT 1
- Undefined operation: times HOT 1
- Please publish v0.12.11 on npm HOT 1
- it throws a deprecation warning : Slash as Division
- it throws a deprecation warning : Slash as Division HOT 8
- Please publish v0.12.12 on npm HOT 4
- New release..? HOT 3
- Broken on node-sass@^3.5.0 HOT 34
- Invalid Sass HOT 4
- How to configurate sprites using compass-mixins? HOT 4
- Missing `rhythm-padding` mixin
- @background-image mixin not accepting value HOT 1
- Gradient has outdated direction syntax. HOT 3
- 1.0.2 version in maven central - missing files
- Bower update from "latest" returns older version (0.12.3) HOT 4
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 compass-mixins.