-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvue.config.js
27 lines (27 loc) · 1 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
module.exports = {
pages: {
mainwindow: {
// entry for the page
entry: 'src/windows/MainWindow/main.ts',
// the source template
template: 'public/main-window.html',
// output as dist/index.html
filename: 'main-window.html',
// when using title option,
// template title tag needs to be <title><%= htmlWebpackPlugin.options.title %></title>
//title: 'Index Page',
// chunks to include on this page, by default includes
// extracted common chunks and vendor chunks.
//chunks: ['chunk-vendors', 'chunk-common', 'index']
},
// when using the entry-only string format,
// template is inferred to be `public/subpage.html`
// and falls back to `public/index.html` if not found.
// Output filename is inferred to be `subpage.html`.
subwindow: {
entry: 'src/windows/SubWindow/main.ts',
template: 'public/sub-window.html',
filename: 'sub-window.html',
},
}
}