vue-cli3.0グローバルscss変数の追加
vueでconfig.jsに加わる
css: {
sourceMap: true,
loaderOptions: {
sass: {
prependData: `@import "@/plugins/element-variables.scss";`
}
}
},
sourceMap: true,
loaderOptions: {
sass: {
prependData: `@import "@/plugins/element-variables.scss";`
}
}