-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
executable file
·36 lines (36 loc) · 1.03 KB
/
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
32
33
34
35
36
module.exports = {
pages: {
'index': {
entry: './src/pages/Home/main.js',
template: 'public/index.html',
title: 'Home',
chunks: ['chunk-vendors', 'chunk-common', 'index']
},
'contact': {
entry: './src/pages/Contact/main.js',
template: 'public/index.html',
title: 'Contact',
chunks: ['chunk-vendors', 'chunk-common', 'contact']
},
'dictionary': {
entry: './src/pages/Dictionary/main.js',
template: 'public/index.html',
title: 'Dictionary',
chunks: ['chunk-vendors', 'chunk-common', 'dictionary']
},
'translator': {
entry: './src/pages/Translator/main.js',
template: 'public/index.html',
title: 'Translator',
chunks: ['chunk-vendors', 'chunk-common', 'translator']
},
'privacy': {
entry: './src/pages/Privacy/main.js',
template: 'public/index.html',
title: 'Privacy',
chunks: ['chunk-vendors', 'chunk-common', 'privacy']
}
},
publicPath: process.env.NODE_ENV === 'production' ?
'/' : '/'
}