mirror of
https://github.com/Xevion/history-of-robotics.git
synced 2025-12-06 01:15:12 -06:00
basic navbar with scrollspy, fix bootstrap-vue asset loading, change to dark background, title fix
This commit is contained in:
24
vue.config.js
Normal file
24
vue.config.js
Normal file
@@ -0,0 +1,24 @@
|
||||
module.exports = {
|
||||
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