Open tomscholz opened 7 years ago
You need to create a scss-config.json
file as described here: https://github.com/fourseven/meteor-scss#global-include-path
The content of that file would be:
{
"includePaths": [
"{}/node_modules/"
]
}
However, with that it's not done. It fails with File to import: ./mixins not found
. Here I'm stuck, too, didn't find a solution yet.
This is perhaps one of the most frustrating "feature" of this package....
I've learned react and use material-ui now. That solved the problem for me
this used to work with meteor 1.6.1 but is now broken with meteor 1.7
Before I get into this, I know there are several issue with importing sass from a npm package, but I think that this is a little bit different, since the sass file I am importing is trying to import another sass file from another npm package.
Here we go: I want to use material design components for web inside my meteor application. Unfortunately when importing mdc from the npm package like this:
I get the following error:
I guess this is due to the structure of mdc. The
material-components-web.scss
file imports all the single components, that are located innode_modules/@material
, not insidenode_modules/material-components-web
.Any suggestion how I can resolve this?