Closed matfin closed 8 years ago
There's an error in node-sass when importing sass files: https://github.com/sass/node-sass/issues/1192
tracked here: https://github.com/fourseven/meteor-scss/issues/120
As @sebakerckhof said this should be merged into issue #120
I had this issue recently. I fixed it by changing everything to scss. In your webpack config you can change you sass loader to scss. Its as simple as that, no need to install other packages etc.
So it would be this:
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
loaders: {
'scss': [
'vue-style-loader',
'css-loader',
'sass-loader',
{
loader: 'sass-resources-loader',
options: {
resources: resolve('src/scss/variables.scss')
},
}
]
}
}
},
Now my variables are available globally throughout my app.
Hi,
When I add some styling to a _partial.sass file in the SASS syntax and @import that to my main.sass file, I get the following error:
I have a main.sass file with the following in it:
Inside my _mixins.sass file (same directory) I have the following:
This gives rise to the error above but oddly enough if I delete the body styling and put it back into main.sass it works.
Further useful info