mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-09 08:09:17 -06:00
Move all ./client files into root as this repository becomes client-based
This commit is contained in:
31
vue.config.js
Normal file
31
vue.config.js
Normal file
@@ -0,0 +1,31 @@
|
||||
module.exports = {
|
||||
css: {
|
||||
loaderOptions: {
|
||||
sass: {
|
||||
prependData: '@import "@/scss/_variables.scss";'
|
||||
}
|
||||
}
|
||||
},
|
||||
chainWebpack: config => {
|
||||
config.module
|
||||
.rule('vue')
|
||||
.use('vue-loader')
|
||||
.loader('vue-loader')
|
||||
.tap(options => {
|
||||
options.transformAssetUrls = {
|
||||
img: 'src',
|
||||
image: 'xlink:href',
|
||||
'b-avatar': 'src',
|
||||
'b-img': 'src',
|
||||
'b-img-lazy': ['src', 'blank-src'],
|
||||
'b-card': 'img-src',
|
||||
'b-card-img': 'src',
|
||||
'b-card-img-lazy': ['src', 'blank-src'],
|
||||
'b-carousel-slide': 'img-src',
|
||||
'b-embed': 'src'
|
||||
}
|
||||
|
||||
return options
|
||||
})
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user