mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
Replace: node sass with dart sass
https://juejin.cn/post/6990170277162254372
This commit is contained in:
parent
27dc2c5800
commit
a83614361d
@ -38,6 +38,13 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
before: require('./mock/mock-server.js')
|
before: require('./mock/mock-server.js')
|
||||||
},
|
},
|
||||||
|
css: {
|
||||||
|
loaderOptions: {
|
||||||
|
sass: {
|
||||||
|
implementation: require('sass') // This line must in sass option
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
// provide the app's title in webpack's name field, so that
|
// provide the app's title in webpack's name field, so that
|
||||||
// it can be accessed in index.html to inject the correct title.
|
// it can be accessed in index.html to inject the correct title.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user