-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
31 lines (31 loc) · 950 Bytes
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* webpack.config.js */
module.exports = {
chainWebpack: config => {
config.resolve.alias.set('vue', '@vue/compat')
config.module
.rule('vue')
.use('vue-loader')
.tap(options => {
return {
...options,
compilerOptions: {
compatConfig: {
MODE: 2
}
}
}
})
config.plugin("html").tap(args=>{
args[0] = {
// template: 'index.tmp.html',
template: '/public/index.html',
title: "Timé Kadel's portfolio",
keywords: "Timé, Kadel, timekadel, portfolio, roomz, roomz.tk, asls",
description: `Hi, my name is Timé Kadel, I'm an engineer in electronics and Information Technology who enjoys working on Innovative technologies and projects.`,
url: "https://timekadel.com",
image: "https://timekadel.com/images/tk.png"
}
return args
})
}
}