Uses SVGs instead of images for interface icons
This commit is contained in:
15
vue.config.js
Normal file
15
vue.config.js
Normal file
@@ -0,0 +1,15 @@
|
||||
module.exports = {
|
||||
chainWebpack: config => {
|
||||
config.module.rules.delete("svg");
|
||||
},
|
||||
configureWebpack: {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /.svg$/,
|
||||
loader: 'vue-svg-loader',
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user