We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! I installed sass-mq with npm using npm install sass-mq --save and tried all the combinations then to import it in a SASS file. These are:
sass-mq
npm install sass-mq --save
@import '_mq';
@import 'mq';
@import '_sass-mq';
@import 'sass-mq';
@import '_mq()';
@import 'mq()';
@import 'sass-mq/mq';
Only the "full" path version @import './node_modules/sass-mq/_mq'; has worked. Still, is there a standard alias that we can use?
@import './node_modules/sass-mq/_mq';
The text was updated successfully, but these errors were encountered:
Hi @certainlyakey, thank you for using Sass MQ!
Have you tried using Eyeglass to load Sass MQ?
Then your import should look like this:
Sorry, something went wrong.
Hi! Thanks for the answer. I thought it was optional to use eyeglass? So that's the only way to import it that "simple" way, right?
You are correct, it is optional to use Eyeglass.
As an alternative, you may want to look into includePath in node-sass. Hope this helps!
includePath
OK, thanks!
Don't ask me why but '~sass-mq' worked for me.
'~sass-mq'
Although 6 years later @use is recommended now
No branches or pull requests
Hi! I installed
sass-mq
with npm usingnpm install sass-mq --save
and tried all the combinations then to import it in a SASS file. These are:@import '_mq';
@import 'mq';
@import '_sass-mq';
@import 'sass-mq';
@import '_mq()';
@import 'mq()';
@import 'sass-mq/mq';
.Only the "full" path version
@import './node_modules/sass-mq/_mq';
has worked. Still, is there a standard alias that we can use?The text was updated successfully, but these errors were encountered: