module: {
rules: [
....
....
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
loaders: {
// Since sass-loader (weirdly) has SCSS as its default parse mode, we map
// the "scss" and "sass" values for the lang attribute to the right configs here.
// other preprocessors should work out of the box, no loader config like this necessary.
'scss': [
'vue-style-loader',
'css-loader',
{
loader: "sass-loader",
options: {
includePaths: [
]
}
}
]
....
....
}
}
}
....
....
]
}
|
<style lang="scss">
@import "ej2-vue-buttons/styles/material.scss";
</style>
|