I am using style-loader, node-sass, sass-loader packages as stated in the doc.. I added to my webpack.base.conf.js the following modules rules
{
test: /\.(s?)css$/,
use: ['style-loader','css-loader','sass-loader']
},
In my main.js , I import my .scss files
import 'element-ui/lib/theme-chalk/index.css' // Theme UI
import './assets/scss/index.scss' // Customize UI
but I get an error during build phase as the theme css are loaded but then
error in ./src/assets/scss/index.scss
Module build failed:
@import './globals/index.scss';
^
It's not clear for me how to handle correctly both css and scss files... too many 'solutions' when googling on it ... cannoit find the latest one
feedback welcome