Answer the question
In order to leave comments, you need to log in
Is it possible to include scss and pug mixins in vue components globally?
I have my own grid on scss mixins, I also use bemto. How did it become possible to connect them separately once, and not insert them into each component? I am using nuxt.js in Vue..
Answer the question
In order to leave comments, you need to log in
snippet from my config
const sassLoaderOptions = {
outputStyle: 'compressed',
data : '@import "./config.scss";',
};
{
test: /\.scss$/,
use : [
'style-loader',
{ loader: 'css-loader', options: cssLoaderOptions },
{ loader: 'sass-loader', options: sassLoaderOptions },
],
},
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question